JetpackAppState
class JetpackAppState(val isUserLoggedIn: Boolean, val userProfilePictureUri: String?, val windowSizeClass: WindowSizeClass, val crashReporter: CrashReporter, coroutineScope: CoroutineScope, networkUtils: NetworkUtils)
App-wide state that is not navigation.
Navigation state deliberately lives outside this class. It is created inside the signed-in and signed-out branches of JetpackApp so that each has its own back stacks, and so that signing in or out discards the other branch's history rather than leaving it to be returned to.
Parameters
coroutineScope
Scope backing isOffline.
networkUtils
Source of connectivity state.
Constructors
Link copied to clipboard
constructor(isUserLoggedIn: Boolean, userProfilePictureUri: String?, windowSizeClass: WindowSizeClass, crashReporter: CrashReporter, coroutineScope: CoroutineScope, networkUtils: NetworkUtils)