LoginActivityViewModel

class LoginActivityViewModel @Inject constructor(    application: Application,     dispatchers: CoroutineDispatchers,     productsAPI: ProductsAPI,     matomoAnalytics: MatomoAnalytics) : AndroidViewModel

Constructors

Link copied to clipboard
@Inject
fun LoginActivityViewModel(    application: Application,     dispatchers: CoroutineDispatchers,     productsAPI: ProductsAPI,     matomoAnalytics: MatomoAnalytics)

Types

Link copied to clipboard
enum LoginStatus : Enum<LoginActivityViewModel.LoginStatus>

Functions

Link copied to clipboard
open fun addCloseable(@NonNull p0: Closeable)
Link copied to clipboard
open fun <T : Application> getApplication(): T
Link copied to clipboard
fun tryLogin(login: String, password: String)

Properties

Link copied to clipboard
val loginButtonEnabled: StateFlow<Boolean>
Link copied to clipboard
val loginStatus: MutableSharedFlow<LoginActivityViewModel.LoginStatus>