修改热度加成问题
This commit is contained in:
parent
0b7a3cc50e
commit
112bec58df
@ -25,7 +25,7 @@ ext {
|
||||
baiduAppSecretKey: "nEVSgmuGpU0pjPr6VleEGGAl0hzGW52S",
|
||||
|
||||
// true表示谷歌支付 false
|
||||
isGooglePlay : false,
|
||||
isGooglePlay : true,
|
||||
//是否上报异常日志
|
||||
isUploadLog : false
|
||||
]
|
||||
|
@ -679,6 +679,9 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
|
||||
public void setPkStatus(boolean isPk) {
|
||||
this.isPk = isPk;
|
||||
if (manager != null) {
|
||||
manager.setPkStatus(isPk);
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
|
@ -463,6 +463,10 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
}
|
||||
}
|
||||
|
||||
public void hotAddVisibility(boolean visibility) {
|
||||
ft_hot_add.setVisibility(visibility ? View.GONE : View.VISIBLE);
|
||||
}
|
||||
|
||||
public void endDRGif() {
|
||||
if (dr_pk_end_gif.getVisibility() == View.GONE) {
|
||||
dr_pk_end_gif.setVisibility(View.VISIBLE);
|
||||
|
@ -1278,6 +1278,16 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* pk状态
|
||||
*
|
||||
* @param isPk
|
||||
*/
|
||||
public void setPkStatus(boolean isPk) {
|
||||
if (mLiveRoomViewHolder != null)
|
||||
mLiveRoomViewHolder.hotAddVisibility(isPk);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLinkMicPkClose(int i) {
|
||||
|
||||
|
@ -709,8 +709,8 @@
|
||||
android:layout_height="27dp"
|
||||
android:layout_below="@id/live_time"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:visibility="gone">
|
||||
android:layout_marginTop="-12dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_hot_gif"
|
||||
|
Loading…
Reference in New Issue
Block a user