diff --git a/live/src/main/java/com/yunbao/live/adapter/FrameGiftAdapter.java b/live/src/main/java/com/yunbao/live/adapter/FrameGiftAdapter.java index 3ff3a7269..6e5acb0f2 100644 --- a/live/src/main/java/com/yunbao/live/adapter/FrameGiftAdapter.java +++ b/live/src/main/java/com/yunbao/live/adapter/FrameGiftAdapter.java @@ -51,6 +51,7 @@ public class FrameGiftAdapter extends RecyclerView.Adapter { public void onCallBack(int position, LiveGiftBean model) { Bus.get().post(new LiveGiftItemEvent().setLiveGiftModel(model)); wishGiftId = null; + giftSelect(model); } }); } diff --git a/live/src/main/java/com/yunbao/live/adapter/LiveParcelItemAdapter.java b/live/src/main/java/com/yunbao/live/adapter/LiveParcelItemAdapter.java index 9f06c5816..8c1403d38 100644 --- a/live/src/main/java/com/yunbao/live/adapter/LiveParcelItemAdapter.java +++ b/live/src/main/java/com/yunbao/live/adapter/LiveParcelItemAdapter.java @@ -43,6 +43,7 @@ public class LiveParcelItemAdapter extends RecyclerView.Adapter { @Override public void onCallBack(int position, LiveGiftBean model) { Bus.get().post(new LiveGiftItemEvent().setLiveGiftModel(model)); + giftSelect(model); } }); } diff --git a/live/src/main/java/com/yunbao/live/views/LiveGiftItemFragment.java b/live/src/main/java/com/yunbao/live/views/LiveGiftItemFragment.java index 72a927be9..ee7c03513 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveGiftItemFragment.java +++ b/live/src/main/java/com/yunbao/live/views/LiveGiftItemFragment.java @@ -78,7 +78,7 @@ public class LiveGiftItemFragment extends BaseFragment { @Subscribe(threadMode = ThreadMode.MAIN) public void onLiveGiftItemEvent(LiveGiftItemEvent event) { - frameGiftAdapter.giftSelect(event.getLiveGiftModel()); +// frameGiftAdapter.giftSelect(event.getLiveGiftModel()); } @Subscribe(threadMode = ThreadMode.MAIN) public void onLiveGiftItemRefreshEvent(LiveGiftItemRefreshEvent event) {