1:修改所有和礼物有关系的接口,分别是打赏接口、房间礼物,这个进行修改
2:修改排麦插队礼物,id传0 3:歌单礼物传递的id是100
This commit is contained in:
@@ -135,7 +135,7 @@ public class GiftSongDialog extends BaseDialog<DialogGiftSongBinding> {
|
||||
mGiftNumList.add(new GiftNumBean("5", "x5"));
|
||||
mGiftNumList.add(new GiftNumBean("1", "x1"));
|
||||
|
||||
RetrofitClient.getInstance().getGiftList(0,"",new BaseObserver<List<RoonGiftModel>>() {
|
||||
RetrofitClient.getInstance().getGiftList(100,"",new BaseObserver<List<RoonGiftModel>>() {
|
||||
|
||||
@Override
|
||||
public void onSubscribe(Disposable d) {
|
||||
@@ -147,6 +147,7 @@ public class GiftSongDialog extends BaseDialog<DialogGiftSongBinding> {
|
||||
giftList= roonGiftModels;
|
||||
roomAdapter = new GiftRoomAdapter(CommonAppContext.getInstance(), roonGiftModels, 0, "0");
|
||||
mBinding.rvGift.setAdapter(roomAdapter);
|
||||
roomAdapter.setNewData(roonGiftModels);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -847,11 +847,6 @@ public class RoomGiftDialogFragment extends BaseMvpDialogFragment<RewardGiftPres
|
||||
private void refreshCurrentGiftFragment(String id, int status, String type) {
|
||||
if (getCurrentGiftFragment() != null) {
|
||||
getCurrentGiftFragment().loadDataIfNeeded(id, status, type);
|
||||
|
||||
if (id.equals("1013")) {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user