Class GroupSearchViewModel
-
- All Implemented Interfaces:
public class GroupSearchViewModel extends BaseViewModel
群组搜索页面ViewModel
- Since:
5.12.2
rongcloud
-
-
Field Summary
Fields Modifier and Type Field Description protected final GroupJoinedSearchPagedHandlergroupJoinedSearchPagedHandlerprotected final MutableLiveData<ErrorEvent<IRongCoreEnum.CoreErrorCode>>errorEventLiveData
-
Constructor Summary
Constructors Constructor Description GroupSearchViewModel(Bundle arguments)
-
Method Summary
Modifier and Type Method Description LiveData<List<GroupInfo>>getFilteredGroupInfoListLiveData()voidsearchJoinedGroups(@NonNull() String query)搜索加入的群组 voidonCleared()-
-
Method Detail
-
getFilteredGroupInfoListLiveData
LiveData<List<GroupInfo>> getFilteredGroupInfoListLiveData()
-
searchJoinedGroups
void searchJoinedGroups(@NonNull() String query)
搜索加入的群组
- Parameters:
query- 查询关键字
-
onCleared
void onCleared()
-
-
-
-