11111
This commit is contained in:
parent
b264001a44
commit
97660b2b04
@ -2,14 +2,23 @@
|
|||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:background="@color/white"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/top_noback"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_margin="18dp"
|
||||||
|
android:text="@string/message"
|
||||||
|
android:textColor="@color/black3"
|
||||||
|
android:textSize="24sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:paddingTop="10dp"
|
|
||||||
android:id="@+id/container"
|
android:id="@+id/container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="400dp"
|
android:layout_height="400dp"
|
||||||
android:background="@color/white"/>
|
android:background="@color/white"
|
||||||
|
android:paddingTop="10dp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -5,8 +5,6 @@ import android.view.View;
|
|||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.ImageView;
|
import android.widget.ImageView;
|
||||||
|
|
||||||
import com.yunbao.common.bean.IMLoginModel;
|
|
||||||
import com.yunbao.common.manager.IMLoginManager;
|
|
||||||
import com.yunbao.main.R;
|
import com.yunbao.main.R;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -45,17 +43,7 @@ public class PDLiveCustomConversationProvider extends BaseConversationProvider {
|
|||||||
//根据业务需要,自定义处理
|
//根据业务需要,自定义处理
|
||||||
super.bindViewHolder(holder, uiConversation, position, list, listener);
|
super.bindViewHolder(holder, uiConversation, position, list, listener);
|
||||||
ImageView readReceipt = holder.itemView.findViewById(com.yunbao.live.R.id.rc_conversation_read_receipt);
|
ImageView readReceipt = holder.itemView.findViewById(com.yunbao.live.R.id.rc_conversation_read_receipt);
|
||||||
// IMLoginModel userInfo = IMLoginManager.get(holder.getContext()).getUserInfo();
|
|
||||||
// if (String.valueOf(userInfo.getId()).equals(uiConversation.mCore.getSenderUserId())) {
|
|
||||||
// Message.SentStatus sentStatus = uiConversation.mCore.getSentStatus();
|
|
||||||
// if (sentStatus == Message.SentStatus.READ) {
|
|
||||||
//
|
|
||||||
// } else {
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
// } else {
|
|
||||||
// readReceipt.setVisibility(View.GONE);
|
|
||||||
// }
|
|
||||||
readReceipt.setVisibility(View.VISIBLE);
|
readReceipt.setVisibility(View.VISIBLE);
|
||||||
if (RongConfigCenter.featureConfig().isReadReceiptConversationType(Conversation.ConversationType.PRIVATE) &&
|
if (RongConfigCenter.featureConfig().isReadReceiptConversationType(Conversation.ConversationType.PRIVATE) &&
|
||||||
uiConversation.mCore.getSenderUserId().equals(RongIMClient.getInstance().getCurrentUserId()) &&
|
uiConversation.mCore.getSenderUserId().equals(RongIMClient.getInstance().getCurrentUserId()) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user