public class ChatMessageListController
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
class |
ChatMessageListController.GuideMessageViewHolder |
static interface |
ChatMessageListController.OnChatMsgClickListener |
static interface |
ChatMessageListController.OnListClickListener |
限定符和类型 | 字段和说明 |
---|---|
static int |
BIG_CHAT_AREA |
boolean |
isAnimating |
java.util.HashMap<java.lang.String,java.lang.Integer> |
mTestHashMap |
static int |
SIZE_IMG |
static int |
SIZE_IMG_SMALL |
static int |
SIZE_TEXT |
static int |
SMALL_CHAT_AREA |
构造器和说明 |
---|
ChatMessageListController(android.app.Activity act,
com.app.live.activity.VideoDataInfo videoDataInfo) |
限定符和类型 | 方法和说明 |
---|---|
void |
addData2Adapter(java.util.ArrayList<io.rong.imlib.model.MessageContent> cacheMsgList) |
void |
addData2Adapter(io.rong.imlib.model.MessageContent msg) |
protected void |
attachFirstIcon(android.widget.TextView tv,
int id) |
protected void |
attachUserLevel(android.widget.TextView tv,
int level) |
protected void |
attachUserLevel(android.widget.TextView tv,
io.rong.imlib.model.MessageContent msg) |
void |
clean() |
void |
dismiss() |
java.util.ArrayList<java.lang.String> |
getLast5MessageByUid(java.lang.String uid) |
protected int |
getUserLevelImageResId(int level) |
protected int |
getUserLevelImageResId(io.rong.imlib.model.MessageContent msg) |
boolean |
isDeleteLastMsg(java.util.List<io.rong.imlib.model.MessageContent> mList,
io.rong.imlib.model.MessageContent newMessage) |
void |
notifyDataChanged() |
void |
onKeyBoardVisisbleChange(java.lang.Boolean flag) |
void |
removeActiveController() |
void |
removeScrollController() |
void |
sendByMyself() |
void |
setGameStatus(boolean status) |
void |
setIsbozhu(boolean bozhu,
java.lang.String videoId) |
void |
setmOnChatMsgClickListener(ChatMessageListController.OnChatMsgClickListener mOnChatMsgClickListener) |
void |
setmVideoName(java.lang.String sName) |
void |
setmVideoType(int sType) |
void |
setmVideoUid(java.lang.String sUid) |
void |
setNineLive(boolean isNineLive) |
void |
setOnClickListener(ChatMessageListController.OnListClickListener listener) |
void |
setRootView(android.view.View chatMessageRootView) |
void |
setScrollController() |
public static final int BIG_CHAT_AREA
public static final int SMALL_CHAT_AREA
public boolean isAnimating
public java.util.HashMap<java.lang.String,java.lang.Integer> mTestHashMap
public static final int SIZE_TEXT
public static final int SIZE_IMG
public static final int SIZE_IMG_SMALL
public ChatMessageListController(android.app.Activity act, com.app.live.activity.VideoDataInfo videoDataInfo)
public void setNineLive(boolean isNineLive)
public void setRootView(android.view.View chatMessageRootView)
public void setOnClickListener(ChatMessageListController.OnListClickListener listener)
public void setmOnChatMsgClickListener(ChatMessageListController.OnChatMsgClickListener mOnChatMsgClickListener)
public void clean()
public void setmVideoType(int sType)
public void setIsbozhu(boolean bozhu, java.lang.String videoId)
public void setmVideoUid(java.lang.String sUid)
public void setmVideoName(java.lang.String sName)
public void setGameStatus(boolean status)
public void addData2Adapter(io.rong.imlib.model.MessageContent msg)
public void addData2Adapter(java.util.ArrayList<io.rong.imlib.model.MessageContent> cacheMsgList)
public boolean isDeleteLastMsg(java.util.List<io.rong.imlib.model.MessageContent> mList, io.rong.imlib.model.MessageContent newMessage)
public void notifyDataChanged()
public void setScrollController()
public void sendByMyself()
public void removeScrollController()
public void removeActiveController()
public void onKeyBoardVisisbleChange(java.lang.Boolean flag)
public void dismiss()
protected int getUserLevelImageResId(io.rong.imlib.model.MessageContent msg)
protected int getUserLevelImageResId(int level)
protected void attachUserLevel(android.widget.TextView tv, int level)
protected void attachUserLevel(android.widget.TextView tv, io.rong.imlib.model.MessageContent msg)
protected void attachFirstIcon(android.widget.TextView tv, int id)
public java.util.ArrayList<java.lang.String> getLast5MessageByUid(java.lang.String uid)