111
This commit is contained in:
@@ -20,6 +20,7 @@ import com.yunbao.common.custom.TabButtonGroup;
|
||||
import com.yunbao.common.event.MessageIMEvent;
|
||||
import com.yunbao.common.event.UpdateTablePointMe;
|
||||
import com.yunbao.common.http.HttpCallback;
|
||||
import com.yunbao.common.manager.IMLoginManager;
|
||||
import com.yunbao.common.manager.imrongcloud.MessageIMManager;
|
||||
import com.yunbao.common.utils.ProcessResultUtil;
|
||||
import com.yunbao.common.utils.ToastUtil;
|
||||
@@ -114,6 +115,7 @@ public class PDLiveConversationListActivity extends AbsActivity {
|
||||
* 初始化数据
|
||||
*/
|
||||
private void initData() {
|
||||
IMLoginManager.get(mContext).checkInstructor();
|
||||
mProcessResultUtil = new ProcessResultUtil(this);
|
||||
//获取系统消息列表
|
||||
ImHttpUtil.getImUserInfo("", new HttpCallback() {
|
||||
|
||||
@@ -84,10 +84,11 @@ public class MainHomeLiveWeekItemViewHolder<T> extends RecyclerView.ViewHolder {
|
||||
List<WeekListBean> mWeekList = bean.getmWeekList();
|
||||
if (mWeekList != null && mWeekList.size() > 0) {
|
||||
viewflipperBanner.removeAllViews();
|
||||
weekList.clear();
|
||||
weekList.addAll(mWeekList);
|
||||
itemView.setTag(position);
|
||||
}
|
||||
weekList.clear();
|
||||
weekList.addAll(mWeekList);
|
||||
itemView.setTag(position);
|
||||
|
||||
try {
|
||||
upSvga();
|
||||
//设置周榜边框动图
|
||||
@@ -115,7 +116,7 @@ public class MainHomeLiveWeekItemViewHolder<T> extends RecyclerView.ViewHolder {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (listener != null) {
|
||||
WeekListBean model = mWeekList.get(viewflipperBanner.getDisplayedChild());
|
||||
WeekListBean model = weekList.get(viewflipperBanner.getDisplayedChild());
|
||||
bean.setUid(model.getAnchor_id());
|
||||
listener.onItemClick(bean, position);
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<bool name="rc_enable_send_combine_message">false</bool>
|
||||
|
||||
<!--在前台非会话页面时,接收到新消息是否响铃 -->
|
||||
<bool name="rc_sound_in_foreground">true</bool>
|
||||
<bool name="rc_sound_in_foreground">false</bool>
|
||||
|
||||
<!--会话页面右上角的未读 @ 消息数提示,当收到的消息中有 @ 消息时,进入会话之后,是否在右上角提示未读 @ 消息数-->
|
||||
<bool name="rc_enable_unread_mention">true</bool>
|
||||
|
||||
Reference in New Issue
Block a user