修复:
心愿单
This commit is contained in:
parent
9cd44c592c
commit
6316f9489e
@ -417,6 +417,8 @@ public class LiveAudienceActivity extends LiveActivity {
|
|||||||
} else if (Micing == 2) {
|
} else if (Micing == 2) {
|
||||||
manager.micIngTypeTwo(mLiveBean, mLiveType, mLiveTypeVal);
|
manager.micIngTypeTwo(mLiveBean, mLiveType, mLiveTypeVal);
|
||||||
} else {
|
} else {
|
||||||
|
manager.exitLiveRoom();
|
||||||
|
manager.onRemove();
|
||||||
super.onBackPressed();
|
super.onBackPressed();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -437,6 +439,7 @@ public class LiveAudienceActivity extends LiveActivity {
|
|||||||
@Override
|
@Override
|
||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
|
|
||||||
Bus.getOff(this);
|
Bus.getOff(this);
|
||||||
L.e("LiveAudienceActivity-------onDestroy------->");
|
L.e("LiveAudienceActivity-------onDestroy------->");
|
||||||
}
|
}
|
||||||
|
@ -115,4 +115,8 @@ public class WishlistItemModel extends BaseModel {
|
|||||||
this.wishlistProgress = wishlistProgress;
|
this.wishlistProgress = wishlistProgress;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getWishlistNumP() {
|
||||||
|
return wishlistProgress + "/" + wishlistNum;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1053,7 +1053,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
ImageView wishPic = wish.findViewById(R.id.wish_pic);
|
ImageView wishPic = wish.findViewById(R.id.wish_pic);
|
||||||
TextView wishIndex = wish.findViewById(R.id.wish_index);
|
TextView wishIndex = wish.findViewById(R.id.wish_index);
|
||||||
ImgLoader.display(mContext, wishlist.get(i).getWishlistIcon(), wishPic);
|
ImgLoader.display(mContext, wishlist.get(i).getWishlistIcon(), wishPic);
|
||||||
wishIndex.setText((i + 1) + "/" + wishlist.size());
|
wishIndex.setText(wishlist.get(i).getWishlistNumP());
|
||||||
wishListFlipper.addView(wish);
|
wishListFlipper.addView(wish);
|
||||||
}
|
}
|
||||||
wishListFlipper.startFlipping();
|
wishListFlipper.startFlipping();
|
||||||
@ -1788,6 +1788,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户离开房间
|
* 用户离开房间
|
||||||
|
*
|
||||||
* @param bean 用户
|
* @param bean 用户
|
||||||
*/
|
*/
|
||||||
public void onExitRoom(UserBean bean) {
|
public void onExitRoom(UserBean bean) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user