add:直播间私信悬浮窗默认隐藏,随接口判断是否显示
This commit is contained in:
parent
09f74c3881
commit
4070c7717b
@ -717,7 +717,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
if (!SpUtil.getInstance().getBooleanValue("private_chat_message_switch")) {
|
if (!SpUtil.getInstance().getBooleanValue("private_chat_message_switch")) {
|
||||||
msgLayout.setVisibility(View.GONE);
|
msgLayout.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
if(!IMLoginManager.get(mContext).hintChat()){
|
||||||
|
msgLayout.setVisibility(View.VISIBLE);
|
||||||
|
}
|
||||||
mHandler = new Handler() {
|
mHandler = new Handler() {
|
||||||
@Override
|
@Override
|
||||||
public void handleMessage(Message msg) {
|
public void handleMessage(Message msg) {
|
||||||
|
@ -667,6 +667,7 @@
|
|||||||
android:layout_height="48dp"
|
android:layout_height="48dp"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_marginEnd="0dp"
|
android:layout_marginEnd="0dp"
|
||||||
|
android:visibility="invisible"
|
||||||
android:background="@drawable/bg_live_room_msg">
|
android:background="@drawable/bg_live_room_msg">
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
|
Loading…
Reference in New Issue
Block a user