StreamlineSignInViewModel

open class StreamlineSignInViewModel(authUserRepository: AuthUserRepository) : ViewModel

A view model for a streamline sign-in screen.

It checks if there is a user already signed in, and emits the appropriate states through the uiState property.

Constructors

Link copied to clipboard
constructor(authUserRepository: AuthUserRepository)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard

Indicate that the screen has observed the idle state and that the view model can start its work.