pda
androidJvm
app
/
net.artux.pda.ui.viewmodels
/
ProfileViewModel
Profile
View
Model
class
ProfileViewModel
@
Inject
constructor
(
var
userRepository
:
UserRepository
,
var
userMapper
:
UserMapper
)
:
ViewModel
Members
Constructors
Profile
View
Model
Link copied to clipboard
@
Inject
constructor
(
userRepository
:
UserRepository
,
userMapper
:
UserMapper
)
Properties
friends
Link copied to clipboard
var
friends
:
MutableLiveData
<
List
<
SimpleUserModel
>
>
profile
Link copied to clipboard
var
profile
:
MutableLiveData
<
ProfileModel
>
status
Link copied to clipboard
var
status
:
MutableLiveData
<
StatusModel
>
user
Mapper
Link copied to clipboard
var
userMapper
:
UserMapper
user
Repository
Link copied to clipboard
var
userRepository
:
UserRepository
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
@
NonNull
p0
:
Closeable
)
get
Id
Link copied to clipboard
fun
getId
(
)
:
UUID
update
Friends
Link copied to clipboard
fun
updateFriends
(
uuid
:
UUID
,
userRelation
:
UserRelation
)
update
My
Requests
Link copied to clipboard
fun
updateMyRequests
(
)
update
Profile
Link copied to clipboard
fun
updateProfile
(
uuid
:
UUID
?
)