类 EaseChatThreadListPresenter
- java.lang.Object
-
- io.agora.chat.uikit.base.EaseBasePresenter
-
- io.agora.chat.uikit.chatthread.presenter.EaseChatThreadListPresenter
-
- 所有已实现的接口:
androidx.lifecycle.LifecycleObserver
- 直接已知子类:
EaseChatThreadListPresenterImpl
public abstract class EaseChatThreadListPresenter extends EaseBasePresenter
-
-
字段概要
字段 修饰符和类型 字段 说明 protected IChatThreadListViewmView
-
构造器概要
构造器 构造器 说明 EaseChatThreadListPresenter()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 voidattachView(ILoadDataView view)voiddetachView()abstract voidgetJoinedThreadList(java.lang.String parentId, int limit, java.lang.String cursor)Get joined thread list by parent idabstract voidgetMoreJoinedThreadList(java.lang.String parentId, int limit, java.lang.String cursor)Get more joined thread list by parent idabstract voidgetMoreThreadList(java.lang.String parentId, int limit, java.lang.String cursor)Get more thread list by parent idabstract voidgetThreadLatestMessages(java.util.List<java.lang.String> threadIds)Get thread latest messagesabstract voidgetThreadList(java.lang.String parentId, int limit, java.lang.String cursor)Get thread list by parent idabstract voidgetThreadParent(java.lang.String parentId)Get thread's parent, first from local, if local is null, will get from server, usually is a groupvoidonDestroy()
-
-
-
字段详细资料
-
mView
protected IChatThreadListView mView
-
-
方法详细资料
-
attachView
public void attachView(ILoadDataView view)
- 指定者:
attachView在类中EaseBasePresenter
-
detachView
public void detachView()
- 指定者:
detachView在类中EaseBasePresenter
-
onDestroy
public void onDestroy()
- 覆盖:
onDestroy在类中EaseBasePresenter
-
getJoinedThreadList
public abstract void getJoinedThreadList(java.lang.String parentId, int limit, java.lang.String cursor)Get joined thread list by parent id- 参数:
parentId- Usually is group idlimit-cursor-
-
getMoreJoinedThreadList
public abstract void getMoreJoinedThreadList(java.lang.String parentId, int limit, java.lang.String cursor)Get more joined thread list by parent id- 参数:
parentId- Usually is group idlimit-cursor-
-
getThreadList
public abstract void getThreadList(java.lang.String parentId, int limit, java.lang.String cursor)Get thread list by parent id- 参数:
parentId- Usually is group idlimit-cursor-
-
getMoreThreadList
public abstract void getMoreThreadList(java.lang.String parentId, int limit, java.lang.String cursor)Get more thread list by parent id- 参数:
parentId- Usually is group idlimit-cursor-
-
getThreadLatestMessages
public abstract void getThreadLatestMessages(java.util.List<java.lang.String> threadIds)
Get thread latest messages- 参数:
threadIds-
-
getThreadParent
public abstract void getThreadParent(java.lang.String parentId)
Get thread's parent, first from local, if local is null, will get from server, usually is a group- 参数:
parentId- Usually is group id
-
-