Package-level declarations

Types

Link copied to clipboard

The states for a sign-in prompt screen.

Link copied to clipboard
open class SignInPromptViewModel(authUserRepository: AuthUserRepository) : ViewModel

A view model for a sign-in prompt screen.

Functions

Link copied to clipboard
fun SignInPromptScreen(message: String, onAlreadySignedIn: (account: AccountUiModel) -> Unit, columnState: ScalingLazyColumnState, modifier: Modifier = Modifier, title: String = stringResource(id = R.string.horologist_signin_prompt_title), viewModel: SignInPromptViewModel = viewModel(), loadingContent: @Composable () -> Unit = { SignInPlaceholderScreen(modifier = modifier) }, content: ScalingLazyListScope.() -> Unit)

A screen to prompt users to sign in.

fun SignInPromptScreen(state: SignInPromptScreenState, title: String, message: String, onIdleStateObserved: () -> Unit, onAlreadySignedIn: (account: AccountUiModel) -> Unit, columnState: ScalingLazyColumnState, modifier: Modifier = Modifier, loadingContent: @Composable () -> Unit = { SignInPlaceholderScreen(modifier = modifier) }, content: ScalingLazyListScope.() -> Unit)