Class UpdateGenderViewModel
-
- All Implemented Interfaces:
public class UpdateGenderViewModel extends BaseViewModel
Update gender page ViewModel
- Since:
5.12.0
-
-
Field Summary
Fields Modifier and Type Field Description public UserProfileuserProfileprotected final MutableLiveData<ErrorEvent<NCError>>errorEventLiveData
-
Constructor Summary
Constructors Constructor Description UpdateGenderViewModel(Bundle bundle)
-
Method Summary
Modifier and Type Method Description UserProfilegetUserProfile()voidsetUserProfile(UserProfile userProfile)voidupdateUserProfile(UserProfile userProfile, OnDataChangeListener<Boolean> listener)voidupdateUserProfile(UserProfile userProfile, OnDataChangeEnhancedListener<Boolean> listener)voidonCleared()-
Methods inherited from class ai.nexconn.chatui.base.BaseViewModel
getArguments, getErrorEventLiveData, postErrorEvent -
Methods inherited from class androidx.lifecycle.ViewModel
addCloseable -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getUserProfile
UserProfile getUserProfile()
-
setUserProfile
void setUserProfile(UserProfile userProfile)
-
updateUserProfile
@Deprecated() void updateUserProfile(UserProfile userProfile, OnDataChangeListener<Boolean> listener)
-
updateUserProfile
void updateUserProfile(UserProfile userProfile, OnDataChangeEnhancedListener<Boolean> listener)
-
onCleared
void onCleared()
-
-
-
-