隐藏新人任务
This commit is contained in:
parent
2236a90b31
commit
950bcee232
@ -299,10 +299,9 @@ public class LiveGiftPopup2 extends AbsDialogFragment {
|
|||||||
// ImgLoader.display(getContext(), R.mipmap.ic_gift_right_arrow, liveGiftImg);
|
// ImgLoader.display(getContext(), R.mipmap.ic_gift_right_arrow, liveGiftImg);
|
||||||
|
|
||||||
//设置礼物的信息
|
//设置礼物的信息
|
||||||
RecyclerView.LayoutManager layoutManager = new GridLayoutManager(getActivity(), 4, GridLayoutManager.VERTICAL, false);
|
GridLayoutManager layoutManager = new GridLayoutManager(getActivity(), 4, GridLayoutManager.VERTICAL, false);
|
||||||
giftRecyclerView.setLayoutManager(layoutManager);
|
giftRecyclerView.setLayoutManager(layoutManager);
|
||||||
|
|
||||||
//礼物分类tab
|
|
||||||
//礼物分类tab
|
//礼物分类tab
|
||||||
LinearLayoutManager manager = new LinearLayoutManager(getContext(), LinearLayoutManager.HORIZONTAL, false);
|
LinearLayoutManager manager = new LinearLayoutManager(getContext(), LinearLayoutManager.HORIZONTAL, false);
|
||||||
giftTitleRecyclerView.setLayoutManager(manager);
|
giftTitleRecyclerView.setLayoutManager(manager);
|
||||||
@ -363,7 +362,6 @@ public class LiveGiftPopup2 extends AbsDialogFragment {
|
|||||||
giftWrapTv.setTextColor(ContextCompat.getColor(mContext, com.yunbao.live.R.color.feea36));
|
giftWrapTv.setTextColor(ContextCompat.getColor(mContext, com.yunbao.live.R.color.feea36));
|
||||||
isWrap = true;
|
isWrap = true;
|
||||||
giftSendGroup.setVisibility(View.INVISIBLE);
|
giftSendGroup.setVisibility(View.INVISIBLE);
|
||||||
//TODO 切换到包裹取消更爱
|
|
||||||
GiftCacheUtil.getInstance().addDownloadList(mWrapGiftList);
|
GiftCacheUtil.getInstance().addDownloadList(mWrapGiftList);
|
||||||
|
|
||||||
//礼物过滤掉数量为0的礼物
|
//礼物过滤掉数量为0的礼物
|
||||||
@ -380,6 +378,8 @@ public class LiveGiftPopup2 extends AbsDialogFragment {
|
|||||||
}
|
}
|
||||||
if (number == 0) {
|
if (number == 0) {
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
|
}else {
|
||||||
|
bean.setChecked(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5656,15 +5656,16 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setShowTask(String url, boolean isShow) {
|
public void setShowTask(String url, boolean isShow) {
|
||||||
newTaskGroup = findViewById(R.id.newTaskGroup);
|
//隐藏新手任务
|
||||||
newTaskBg = findViewById(R.id.newTaskBg);
|
// newTaskGroup = findViewById(R.id.newTaskGroup);
|
||||||
newTaskBg.setOnClickListener(new View.OnClickListener() {
|
// newTaskBg = findViewById(R.id.newTaskBg);
|
||||||
@Override
|
// newTaskBg.setOnClickListener(new View.OnClickListener() {
|
||||||
public void onClick(View v) {
|
// @Override
|
||||||
ZhuangBanActivity.forward(mContext, url, true, 1);
|
// public void onClick(View v) {
|
||||||
}
|
// ZhuangBanActivity.forward(mContext, url, true, 1);
|
||||||
});
|
// }
|
||||||
newTaskGroup.setVisibility(isShow ? View.VISIBLE : View.GONE);
|
// });
|
||||||
|
// newTaskGroup.setVisibility(isShow ? View.VISIBLE : View.GONE);
|
||||||
|
|
||||||
// anTask = findViewById(R.id.anTask);
|
// anTask = findViewById(R.id.anTask);
|
||||||
// anTask.setOnClickListener(new View.OnClickListener() {
|
// anTask.setOnClickListener(new View.OnClickListener() {
|
||||||
|
@ -2538,7 +2538,9 @@
|
|||||||
android:layout_height="30dp"
|
android:layout_height="30dp"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
android:visibility="gone" />
|
android:visibility="gone"
|
||||||
|
android:layout_marginEnd="70dp"
|
||||||
|
tools:visibility="visible"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
|
||||||
@ -3212,7 +3214,7 @@
|
|||||||
android:scrollHorizontally="true"
|
android:scrollHorizontally="true"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
tools:text="主播創建了【游戲名】房間"
|
tools:text="主播創建了【游戲名】房間"
|
||||||
android:textColor="@color/black1"
|
android:textColor="@color/black1"
|
||||||
android:textSize="12dp" />
|
android:textSize="12dp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
Loading…
Reference in New Issue
Block a user