修改中英文

This commit is contained in:
18401019693 2023-10-16 17:01:46 +08:00
parent d8a0427791
commit 51457738d2
3 changed files with 3 additions and 1 deletions

View File

@ -51,6 +51,7 @@ public class FrameGiftAdapter extends RecyclerView.Adapter {
public void onCallBack(int position, LiveGiftBean model) { public void onCallBack(int position, LiveGiftBean model) {
Bus.get().post(new LiveGiftItemEvent().setLiveGiftModel(model)); Bus.get().post(new LiveGiftItemEvent().setLiveGiftModel(model));
wishGiftId = null; wishGiftId = null;
giftSelect(model);
} }
}); });
} }

View File

@ -43,6 +43,7 @@ public class LiveParcelItemAdapter extends RecyclerView.Adapter {
@Override @Override
public void onCallBack(int position, LiveGiftBean model) { public void onCallBack(int position, LiveGiftBean model) {
Bus.get().post(new LiveGiftItemEvent().setLiveGiftModel(model)); Bus.get().post(new LiveGiftItemEvent().setLiveGiftModel(model));
giftSelect(model);
} }
}); });
} }

View File

@ -78,7 +78,7 @@ public class LiveGiftItemFragment extends BaseFragment {
@Subscribe(threadMode = ThreadMode.MAIN) @Subscribe(threadMode = ThreadMode.MAIN)
public void onLiveGiftItemEvent(LiveGiftItemEvent event) { public void onLiveGiftItemEvent(LiveGiftItemEvent event) {
frameGiftAdapter.giftSelect(event.getLiveGiftModel()); // frameGiftAdapter.giftSelect(event.getLiveGiftModel());
} }
@Subscribe(threadMode = ThreadMode.MAIN) @Subscribe(threadMode = ThreadMode.MAIN)
public void onLiveGiftItemRefreshEvent(LiveGiftItemRefreshEvent event) { public void onLiveGiftItemRefreshEvent(LiveGiftItemRefreshEvent event) {