升级融云sdk版本暂存
This commit is contained in:
parent
f391d1bee7
commit
4337f0bdd6
@ -14,9 +14,19 @@ public class MessageUserInfoBean extends BaseModel{
|
||||
@SerializedName("msg")
|
||||
String sayHiMsg;
|
||||
|
||||
int id;
|
||||
|
||||
int status; //0 需要跳转到 编辑资料页面
|
||||
String extras;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getExtras() {
|
||||
return extras;
|
||||
}
|
||||
|
@ -87,6 +87,10 @@ public class MessageSayHiNotifyDialog extends AbsDialogCenterPopupWindow {
|
||||
@Override
|
||||
protected void onCreate() {
|
||||
super.onCreate();
|
||||
if(userInfoBean.getId()==0){
|
||||
dismiss();
|
||||
return;
|
||||
}
|
||||
findViewById(R.id.liveGo).setOnClickListener(v -> {
|
||||
isSayHi = true;
|
||||
Conversation.ConversationType type = Conversation.ConversationType.PRIVATE;
|
||||
|
@ -66,6 +66,14 @@ public class MyAddressBookFragment extends Fragment {
|
||||
if(emptyView!=null){
|
||||
mAdapter.setEmptyView(emptyView);
|
||||
}
|
||||
mAdapter.setOnItemClickListener(new OnItemClickListener<MessageChatUserBean>() {
|
||||
@Override
|
||||
public void onItemClick(MessageChatUserBean bean, int position) {
|
||||
if(position==-2){
|
||||
initData();
|
||||
}
|
||||
}
|
||||
});
|
||||
this.mList = (RecyclerView) view.findViewById(R.id.rc_conversation_list);
|
||||
this.mRefreshLayout = (SmartRefreshLayout) view.findViewById(R.id.rc_refresh);
|
||||
LinearLayoutManager layoutManager = new LinearLayoutManager(this.getActivity());
|
||||
|
@ -71,7 +71,7 @@ public class PDLiveCustomConversationProvider extends BaseConversationProvider {
|
||||
String cn = WordUtil.getChineseString(def);
|
||||
String en = WordUtil.getEnglishString(def);
|
||||
String content = uiConversation.mConversationContent.toString();
|
||||
Log.i("列表----", "bindViewHolder: " + str + " | " + uiConversation.mConversationContent);
|
||||
Log.i("列表----", "bindViewHolder: " + str + " | " + uiConversation.mConversationContent+" | "+WordUtil.isNewZh());
|
||||
if (WordUtil.isNewZh()) {
|
||||
if (en.equals(content)) {
|
||||
uiConversation.mConversationContent = new SpannableString(WordUtil.getNewString(def));
|
||||
|
Loading…
Reference in New Issue
Block a user