toggle menu
BIT App
androidJvm
switch theme
search in API
bitapp
/
com.atech.bit.ui.screens.login
/
LogInViewModel
Log
In
View
Model
class
LogInViewModel
@
Inject
constructor
(
dateStoreCase
:
DataStoreCases
,
val
logInUseCase
:
AuthUseCases
,
pref
:
SharedPreferences
)
:
ViewModel
Members
Constructors
Log
In
View
Model
Link copied to clipboard
@
Inject
constructor
(
dateStoreCase
:
DataStoreCases
,
logInUseCase
:
AuthUseCases
,
pref
:
SharedPreferences
)
Properties
course
Link copied to clipboard
val
course
:
State
<
String
>
has
Permanent
Skip
Login
Link copied to clipboard
val
hasPermanentSkipLogin
:
Boolean
has
Set
Up
Done
Link copied to clipboard
val
hasSetUpDone
:
Boolean
log
In
State
Link copied to clipboard
val
logInState
:
State
<
LogInState
>
log
In
Use
Case
Link copied to clipboard
val
logInUseCase
:
AuthUseCases
sem
Link copied to clipboard
val
sem
:
State
<
String
>
token
Link copied to clipboard
val
token
:
State
<
String
?
>
ui
Link copied to clipboard
val
ui
:
State
<
String
>
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
?
on
Event
Link copied to clipboard
fun
onEvent
(
event
:
LogInScreenEvents
)
update
Set
Up
Done
Link copied to clipboard
fun
updateSetUpDone
(
value
:
Boolean
=
false
)
update
Skip
Log
Link copied to clipboard
fun
updateSkipLog
(
value
:
Boolean
=
false
)