111
This commit is contained in:
@@ -174,7 +174,7 @@ public class LiveGiftAdapter extends RecyclerView.Adapter<LiveGiftAdapter.Vh> {
|
||||
}
|
||||
|
||||
void setData(LiveGiftBean bean, int position, Object payload) {
|
||||
if( IMLoginManager.get(mContext).isNewUserGif()== false) {
|
||||
if( IMLoginManager.get(mContext).isNewUserGif()== true) {
|
||||
if (position == 0 && bean.getTag()!=null) {
|
||||
mRadioButton.setBackgroundResource(R.mipmap.live_gift_light_bg);
|
||||
}
|
||||
@@ -193,7 +193,7 @@ public class LiveGiftAdapter extends RecyclerView.Adapter<LiveGiftAdapter.Vh> {
|
||||
}
|
||||
mPrice.setText(bean.getPrice());
|
||||
|
||||
if (IMLoginManager.get(mContext).isNewUserGif() == false && position == 0 && bean.getTag() != null) {
|
||||
if (IMLoginManager.get(mContext).isNewUserGif() == true && position == 0 && bean.getTag() != null) {
|
||||
mPayico.setVisibility(View.GONE);
|
||||
mPrice.setText(R.string.free);
|
||||
mPrice.setTextColor(Color.parseColor("#FFF269"));
|
||||
|
||||
@@ -427,12 +427,9 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On
|
||||
}
|
||||
|
||||
private void showGiftList(List<LiveGiftBean> list) {
|
||||
if (IMLoginManager.get(mContext).isNewUserGif() == false && type_name.equals("熱門")|| type_name.equals("Hot")) {
|
||||
ToastUtil.show(IMLoginManager.get(mContext).isNewUserGif() +"aaaa");
|
||||
if (IMLoginManager.get(mContext).isNewUserGif() == true && type_name.equals("熱門")|| type_name.equals("Hot")) {
|
||||
|
||||
list.add(0, bean1);
|
||||
if(mWishGiftId==null) {
|
||||
ToastUtil.show(12121+"");
|
||||
|
||||
mWishGiftId = "" + bean1.getId();
|
||||
}
|
||||
|
||||
@@ -80,7 +80,6 @@ public class LiveContributeViewHolder extends AbsLivePageViewHolder implements V
|
||||
if (!mLoad) {
|
||||
mLoad = true;
|
||||
mWebView.loadUrl(HtmlConfig.LIVE_LIST + mLiveUid);
|
||||
Log.e("ttt",HtmlConfig.LIVE_LIST + mLiveUid);
|
||||
} else {
|
||||
mWebView.reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user