Jetpack
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Jetpack
:feature:profile
/
dev.atick.feature.profile.ui
/
ProfileViewModel
Profile
View
Model
class
ProfileViewModel
@
Inject
constructor
(
profileRepository
:
ProfileRepository
)
:
ViewModel
ViewModel
for
ProfileScreen
.
Parameters
profile
Repository
ProfileRepository
.
Members
Constructors
Profile
View
Model
Link copied to clipboard
@
Inject
constructor
(
profileRepository
:
ProfileRepository
)
Properties
profile
Ui
State
Link copied to clipboard
val
profileUiState
:
StateFlow
<
UiState
<
Profile
>
>
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
?
sign
Out
Link copied to clipboard
fun
signOut
(
)