rememberJetpackAppState
fun rememberJetpackAppState(isUserLoggedIn: Boolean, windowSizeClass: WindowSizeClass, networkUtils: NetworkUtils, crashReporter: CrashReporter, userProfilePictureUri: String? = null, coroutineScope: CoroutineScope = rememberCoroutineScope(), navController: NavHostController = rememberNavController()): JetpackAppState
Remembers and creates an instance of JetpackAppState.
Return
An instance of JetpackAppState.
Parameters
isUserLoggedIn
Indicates if the user is logged in.
windowSizeClass
The current window size class.
networkUtils
Utility for network state management.
crashReporter
Utility for reporting exceptions.
userProfilePictureUri
The URI of the user's profile picture.
coroutineScope
The coroutine scope for managing coroutines.
navController
The navigation controller for managing navigation.