Class ContextProvider


  • public final class ContextProvider
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static android.content.res.AssetManager getAssets()  
      static java.lang.String getCacheDir()  
      static android.content.Context getContext()  
      static void setContext​(android.content.Context context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setContext

        public static void setContext​(@NonNull
                                      android.content.Context context)
      • getContext

        @Nullable
        public static android.content.Context getContext()
      • getAssets

        @Nullable
        public static android.content.res.AssetManager getAssets()
      • getCacheDir

        @NonNull
        public static java.lang.String getCacheDir()