Package-level declarations

Types

Link copied to clipboard
sealed interface OnBoardingIntent : MviIntent

Defines the OnBoardingIntent contract for the SDAI presentation layer.

Link copied to clipboard

Coordinates OnBoardingPage behavior in the SDAI presentation layer.

Link copied to clipboard
data class OnBoardingState(val darkThemeToken: DarkThemeToken = DarkThemeToken.FRAPPE, val appVersion: String = "", val showLocalDiffusionPage: Boolean = false) : MviState

Carries OnBoardingState data through the SDAI presentation layer.

Link copied to clipboard
class OnBoardingViewModel(val launchSource: LaunchSource, val dispatchersProvider: DispatchersProvider, val router: OnBoardingRouter, val splashNavigationUseCase: SplashNavigationUseCase, val preferenceManager: PreferenceManager, val buildInfoProvider: BuildInfoProvider) : BaseMviViewModel<OnBoardingState, OnBoardingIntent, EmptyEffect>

Coordinates OnBoardingViewModel behavior in the SDAI presentation layer.

Properties

Link copied to clipboard
private const val CHAR_BOLD_END: Char = ']'

Exposes the CHAR_BOLD_END value used by the SDAI presentation layer.

Link copied to clipboard
private const val CHAR_BOLD_START: Char = '['

Exposes the CHAR_BOLD_START value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the onBoardingDensity value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the onBoardingPageAnimation value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the onBoardingPhoneAspectRatio value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the onBoardingPhoneWidthFraction value used by the SDAI presentation layer.

Functions

Link copied to clipboard

Creates the SDAI value produced by buildOnBoardingText.

Link copied to clipboard

Executes the isLocalDiffusionOnBoardingAvailable step in the SDAI presentation layer.

Executes the isLocalDiffusionOnBoardingAvailable step in the SDAI presentation layer.

Executes the isLocalDiffusionOnBoardingAvailable step in the SDAI presentation layer.

Link copied to clipboard
actual fun OnBoardingBackHandler(enabled: Boolean, onBack: () -> Unit)

Renders the OnBoardingBackHandler UI for the SDAI presentation layer.

expect fun OnBoardingBackHandler(enabled: Boolean, onBack: () -> Unit)

Renders the OnBoardingBackHandler UI for the SDAI presentation layer.

actual fun OnBoardingBackHandler(enabled: Boolean, onBack: () -> Unit)

Renders the OnBoardingBackHandler UI for the SDAI presentation layer.

Link copied to clipboard
fun OnBoardingContent(launchSource: LaunchSource, state: OnBoardingState, processIntent: (OnBoardingIntent) -> Unit, modifier: Modifier = Modifier)

Renders the OnBoardingContent UI for the SDAI presentation layer.

Link copied to clipboard
fun visibleOnBoardingPages(showLocalDiffusionPage: Boolean): List<OnBoardingPage>

Executes the visibleOnBoardingPages step in the SDAI presentation layer.