Class GroupJoinedSearchPagedHandler
-
- All Implemented Interfaces:
-
ai.nexconn.chatui.base.interfaces.OnPagedDataLoader
public class GroupJoinedSearchPagedHandler extends MultiDataHandler implements OnPagedDataLoader
Paged handler for searching joined groups.
Note: Call stop to release resources when done.
- Since:
5.12.2
-
-
Field Summary
Fields Modifier and Type Field Description public final static MultiDataHandler.DataKey<List<GroupInfo>>KEY_SEARCH_JOINED_GROUPSprotected volatile booleanisAlive
-
Constructor Summary
Constructors Constructor Description GroupJoinedSearchPagedHandler()GroupJoinedSearchPagedHandler(int pageCount)
-
Method Summary
Modifier and Type Method Description voidsearchJoinedGroups(@NonNull() String groupName)Searches joined groups by name. voidloadNext(OnDataChangeListener<Boolean> listener)Loads the next page of data. booleanhasNext()Returns whether there is a next page. -
Methods inherited from class ai.nexconn.chatui.base.BaseHandler
isAlive -
Methods inherited from class ai.nexconn.chatui.base.MultiDataHandler
addDataChangeListener, notifyDataChange, notifyDataError, notifyDataError, replaceDataChangeListener, stop -
Methods inherited from class ai.nexconn.chatui.base.interfaces.OnPagedDataLoader
hasPrevious, loadPrevious -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
searchJoinedGroups
void searchJoinedGroups(@NonNull() String groupName)
Searches joined groups by name.
- Parameters:
groupName- the group name to search for
-
loadNext
void loadNext(OnDataChangeListener<Boolean> listener)
Loads the next page of data.
- Parameters:
listener- the load completion listener
-
hasNext
boolean hasNext()
Returns whether there is a next page.
- Returns:
true if more data is available
-
-
-
-