|
|
|
@ -260,6 +260,10 @@ public class PrivateChatPanel : UIView
|
|
|
|
|
ChatInputField.ActivateInputField(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void SetListItemCount0() |
|
|
|
|
{ |
|
|
|
|
LoopListView.SetListItemCount(0, false); |
|
|
|
|
} |
|
|
|
|
/// <summary> |
|
|
|
|
/// 刷新LoopList |
|
|
|
|
/// </summary> |
|
|
|
@ -270,6 +274,7 @@ public class PrivateChatPanel : UIView
|
|
|
|
|
// 更新前数据 |
|
|
|
|
int nextItemIndex = LoopListView.ItemTotalCount; |
|
|
|
|
//增加新条目刷新UI |
|
|
|
|
LoopListView.SetListItemCount(0, false); |
|
|
|
|
LoopListView.SetListItemCount(ChatManager.Instance.Msgs[currentChannel.ID].Count, false); |
|
|
|
|
if (nextItemIndex < ChatManager.Instance.Msgs[currentChannel.ID].Count) |
|
|
|
|
{ |
|
|
|
|