6.5.4礼物冠名

This commit is contained in:
18401019693 2023-08-11 14:19:15 +08:00
parent 92ed82ea2a
commit a3ab9ff03e
2 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,7 @@
android:layout_marginTop="14dp"> android:layout_marginTop="14dp">
<TextView <TextView
android:id="@+id/lit_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/lit_icon" android:text="@string/lit_icon"

View File

@ -31,7 +31,7 @@ public class GiftAlreadyWallFragment extends BaseFragment {
private LinearLayout giftWallNoData, giftWallData; private LinearLayout giftWallNoData, giftWallData;
private RecyclerView alreadyList; private RecyclerView alreadyList;
private GiftAlreadyWallAdapter alreadyWallAdapter; private GiftAlreadyWallAdapter alreadyWallAdapter;
private TextView litIcon, giftAll, unlitIconHint, instantLight; private TextView litIcon, giftAll, unlitIconHint, instantLight,lit_icon;
private boolean isAnchor, sbWy; private boolean isAnchor, sbWy;
@Override @Override
@ -58,6 +58,7 @@ public class GiftAlreadyWallFragment extends BaseFragment {
giftAll = contentView.findViewById(R.id.gift_all); giftAll = contentView.findViewById(R.id.gift_all);
instantLight = contentView.findViewById(R.id.instant_light); instantLight = contentView.findViewById(R.id.instant_light);
unlitIconHint = contentView.findViewById(R.id.unlit_icon_hint); unlitIconHint = contentView.findViewById(R.id.unlit_icon_hint);
lit_icon = contentView.findViewById(R.id.lit_icon);
alreadyWallAdapter = new GiftAlreadyWallAdapter(sbWy); alreadyWallAdapter = new GiftAlreadyWallAdapter(sbWy);
alreadyList.setLayoutManager(new GridLayoutManager(getContext(), 3, GridLayoutManager.VERTICAL, false)); alreadyList.setLayoutManager(new GridLayoutManager(getContext(), 3, GridLayoutManager.VERTICAL, false));
alreadyList.setAdapter(alreadyWallAdapter); alreadyList.setAdapter(alreadyWallAdapter);
@ -68,8 +69,10 @@ public class GiftAlreadyWallFragment extends BaseFragment {
} }
if (isAnchor) { if (isAnchor) {
unlitIconHint.setText(getContext().getString(R.string.unlit_icon_hint)); unlitIconHint.setText(getContext().getString(R.string.unlit_icon_hint));
lit_icon.setText(getString(R.string.lit_icon));
} else { } else {
unlitIconHint.setText(getContext().getString(R.string.unlit_icon_hint2)); unlitIconHint.setText(getContext().getString(R.string.unlit_icon_hint2));
lit_icon.setText(getString(R.string.been_sent));
} }
ViewClicksAntiShake.clicksAntiShake(contentView.findViewById(R.id.instant_light), new ViewClicksAntiShake.ViewClicksCallBack() { ViewClicksAntiShake.clicksAntiShake(contentView.findViewById(R.id.instant_light), new ViewClicksAntiShake.ViewClicksCallBack() {