public class CommentPresenter
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
CommentConfig |
mCommentConfig |
构造器和说明 |
---|
CommentPresenter(com.app.dynamic.presenter.bo.FeedBO feedBO) |
限定符和类型 | 方法和说明 |
---|---|
void |
addComment(com.app.dynamic.presenter.bo.CommentBO commentBO) |
void |
deleteComment(java.lang.String commentId,
com.app.common.common.AsyncActionCallback callback) |
long |
getCommentCount() |
java.util.List<com.app.dynamic.presenter.bo.CommentBO> |
getCommentList() |
void |
loadCommentList(com.app.common.common.AsyncActionCallback callback) |
void |
loadCommentList(boolean fromHead,
int pageSize,
com.app.common.common.AsyncActionCallback callback)
提供一个指定分页大小的重载方法
|
void |
loadHotCommentList(int pageIndex,
int pageSize,
com.app.common.common.AsyncActionCallback callback)
查询短视频热门评论列表
|
void |
publishComment(java.lang.String parentCommentId,
java.lang.String content,
com.app.common.common.AsyncActionCallback callback) |
void |
removeComment(com.app.dynamic.presenter.bo.CommentBO commentBO) |
public CommentConfig mCommentConfig
public void loadCommentList(com.app.common.common.AsyncActionCallback callback)
public void loadCommentList(boolean fromHead, int pageSize, com.app.common.common.AsyncActionCallback callback)
pageSize
- callback
- public void loadHotCommentList(int pageIndex, int pageSize, com.app.common.common.AsyncActionCallback callback)
callback
- public void publishComment(java.lang.String parentCommentId, java.lang.String content, com.app.common.common.AsyncActionCallback callback)
public void deleteComment(java.lang.String commentId, com.app.common.common.AsyncActionCallback callback)
public java.util.List<com.app.dynamic.presenter.bo.CommentBO> getCommentList()
public void addComment(com.app.dynamic.presenter.bo.CommentBO commentBO)
public void removeComment(com.app.dynamic.presenter.bo.CommentBO commentBO)
public long getCommentCount()