Package-level declarations

Types

Link copied to clipboard
class App : Application, ImageLoaderFactory

The main application class that extends Application and is annotated with HiltAndroidApp.

Link copied to clipboard

For now, extend from AppCompatActivity. Otherwise, setApplicationLocales will do nothing.

Link copied to clipboard
class MainActivityViewModel @Inject constructor(userPreferencesDataSource: UserPreferencesDataSource) : ViewModel

Annotates a ViewModel class that is managed by Hilt's dependency injection system.

Link copied to clipboard
data class ThemeSettings(val darkTheme: Boolean, val disableDynamicTheming: Boolean = true)

Class for the system theme settings. This wrapping class allows us to combine all the changes and prevent unnecessary recompositions.