JetpackAppState
class JetpackAppState(val isUserLoggedIn: Boolean, val userProfilePictureUri: String?, val navController: NavHostController, val windowSizeClass: WindowSizeClass, val crashReporter: CrashReporter, coroutineScope: CoroutineScope, networkUtils: NetworkUtils)
State holder class for the Jetpack Compose application.
Parameters
coroutineScope
The coroutine scope for managing coroutines.
networkUtils
Utility for network state management.
Constructors
Link copied to clipboard
constructor(isUserLoggedIn: Boolean, userProfilePictureUri: String?, navController: NavHostController, windowSizeClass: WindowSizeClass, crashReporter: CrashReporter, coroutineScope: CoroutineScope, networkUtils: NetworkUtils)
Properties
Link copied to clipboard
Utility for reporting exceptions.
Link copied to clipboard
The current navigation destination.
Link copied to clipboard
The current top-level navigation destination.
Link copied to clipboard
Indicates if the user is logged in.
Link copied to clipboard
The navigation controller for managing navigation.
Link copied to clipboard
Indicates if the FAB should be shown.
Link copied to clipboard
List of top-level destinations.
Link copied to clipboard
State flow of top-level destinations with unread resources.
Link copied to clipboard
The URI of the user's profile picture.
Link copied to clipboard
The current window size class.