-
@ApiStatus.Internal() public final 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 -
-
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
-
getApplicationContext
@NotNull() static Context getApplicationContext(@NotNull() Context context)
Get the app context
-
-
-
-