OnboardingUiState

data class OnboardingUiState(val currentTabIndex: Int = 0, val isOnboardingCompleted: Boolean = false, val completion: OnboardingCompletion = OnboardingCompletion.Pending)(source)

Everything the onboarding screen renders. The pages come from the host's provider and are there from the start, so nothing here loads.

Constructors

Link copied to clipboard
constructor(currentTabIndex: Int = 0, isOnboardingCompleted: Boolean = false, completion: OnboardingCompletion = OnboardingCompletion.Pending)

Properties

Link copied to clipboard

Where finishing stands. OnboardingCompletion.Saved enters the shell.

Link copied to clipboard

The page the pager last settled on, where it opens again.

Link copied to clipboard

Whether the stored flag says onboarding is done. The screen does not navigate on it: it is already true when onboarding is opened again from the developer options.