Package io.rong.imkit.usermanage.handler
Class GroupApplicationsPagedHandler
-
- All Implemented Interfaces:
-
io.rong.imkit.usermanage.interfaces.OnPagedDataLoader
public class GroupApplicationsPagedHandler extends MultiDataHandler implements OnPagedDataLoader
分页获取群组申请
注意:使用完毕后需要调用 stop 方法释放资源
- Since:
5.12.2
rongcloud
-
-
Field Summary
Fields Modifier and Type Field Description public final static MultiDataHandler.DataKey<List<GroupApplicationInfo>>KEY_GET_GROUP_APPLICATIONSprotected volatile booleanisAlive
-
Constructor Summary
Constructors Constructor Description GroupApplicationsPagedHandler()GroupApplicationsPagedHandler(int pageCount)
-
Method Summary
Modifier and Type Method Description voidgetGroupApplications(Array<GroupApplicationDirection> directions, Array<GroupApplicationStatus> status)获取群组申请 voidloadNext(OnDataChangeListener<Boolean> listener)加载下一页数据 booleanhasNext()是否有下一页数据 -
Methods inherited from class io.rong.imkit.base.BaseHandler
isAlive -
Methods inherited from class io.rong.imkit.base.MultiDataHandler
addDataChangeListener, notifyDataChange, notifyDataError, notifyDataError, notifyDataError, replaceDataChangeListener, stop -
Methods inherited from class io.rong.imkit.usermanage.interfaces.OnPagedDataLoader
hasPrevious, loadPrevious -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getGroupApplications
void getGroupApplications(Array<GroupApplicationDirection> directions, Array<GroupApplicationStatus> status)
获取群组申请
- Parameters:
directions- 申请方向status- 申请状态
-
loadNext
void loadNext(OnDataChangeListener<Boolean> listener)
加载下一页数据
- Parameters:
listener- 加载完成数据监听
-
hasNext
boolean hasNext()
是否有下一页数据
- Returns:
是否有下一页数据
-
-
-
-