Package 

Class ContextUtils

    • Method Summary

      Modifier and Type Method Description
      static boolean appIsLibraryForComposePreview(@NotNull() Context context) Determines if the app is a packaged android library for running Compose Preview Mode
      static Context getApplicationContext(@NotNull() Context context) Get the app context
      • Methods inherited from class java.lang.Object

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

      • appIsLibraryForComposePreview

        @ApiStatus.Internal() static boolean appIsLibraryForComposePreview(@NotNull() Context context)

        Determines if the app is a packaged android library for running Compose Preview Mode

        Parameters:
        context - the context