Class GroupSearchViewModel
-
- All Implemented Interfaces:
public class GroupSearchViewModel extends BaseViewModel
ViewModel for group search.
- Since:
5.12.2
-
-
Field Summary
Fields Modifier and Type Field Description protected final GroupJoinedSearchPagedHandlergroupJoinedSearchPagedHandlerprotected final MutableLiveData<ErrorEvent<NCError>>errorEventLiveData
-
Constructor Summary
Constructors Constructor Description GroupSearchViewModel(Bundle arguments)
-
Method Summary
Modifier and Type Method Description LiveData<List<GroupInfo>>getFilteredGroupInfoListLiveData()voidsearchJoinedGroups(@NonNull() String query)Search joined groups. 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
-
getFilteredGroupInfoListLiveData
LiveData<List<GroupInfo>> getFilteredGroupInfoListLiveData()
-
searchJoinedGroups
void searchJoinedGroups(@NonNull() String query)
Search joined groups.
- Parameters:
query- search keyword
-
onCleared
void onCleared()
-
-
-
-