rememberJetpackAppState

fun rememberJetpackAppState(isUserLoggedIn: Boolean, windowSizeClass: WindowSizeClass, networkUtils: NetworkUtils, crashReporter: CrashReporter, userProfilePictureUri: String? = null, coroutineScope: CoroutineScope = rememberCoroutineScope()): JetpackAppState

Remembers a JetpackAppState.

Parameters

isUserLoggedIn

Whether a user is signed in.

windowSizeClass

The current window size class.

networkUtils

Source of connectivity state.

crashReporter

Used to report errors the user chooses to send.

userProfilePictureUri

Avatar shown in the top app bar.

coroutineScope