Jetpack
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Jetpack
:feature:auth
/
dev.atick.feature.auth.ui.signin
/
SignInViewModel
Sign
In
View
Model
class
SignInViewModel
@
Inject
constructor
(
authRepository
:
AuthRepository
)
:
ViewModel
ViewModel
for
SignInScreen
.
Parameters
auth
Repository
AuthRepository
.
Members
Constructors
Sign
In
View
Model
Link copied to clipboard
@
Inject
constructor
(
authRepository
:
AuthRepository
)
Properties
sign
In
Ui
State
Link copied to clipboard
val
signInUiState
:
StateFlow
<
UiState
<
SignInScreenData
>
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
login
With
Email
And
Password
Link copied to clipboard
fun
loginWithEmailAndPassword
(
)
sign
In
With
Google
Link copied to clipboard
fun
signInWithGoogle
(
activity
:
Activity
)
sign
In
With
Saved
Credentials
Link copied to clipboard
fun
signInWithSavedCredentials
(
activity
:
Activity
)
update
Email
Link copied to clipboard
fun
updateEmail
(
email
:
String
)
update
Password
Link copied to clipboard
fun
updatePassword
(
password
:
String
)