清晰度选择提示弹窗问题修复
This commit is contained in:
parent
8611817a6a
commit
2a6af7c165
@ -11,7 +11,7 @@ import com.yunbao.common.R;
|
|||||||
import com.yunbao.common.views.weight.ViewClicksAntiShake;
|
import com.yunbao.common.views.weight.ViewClicksAntiShake;
|
||||||
|
|
||||||
public class HintCustomPopup extends CenterPopupView {
|
public class HintCustomPopup extends CenterPopupView {
|
||||||
private String title, contest,openCancel,openOk;
|
private String title, contest, openCancel, openOk;
|
||||||
private TextView liveOpenCancel, liveOpenOk;
|
private TextView liveOpenCancel, liveOpenOk;
|
||||||
|
|
||||||
public HintCustomPopup(@NonNull Context context, String title, String contest) {
|
public HintCustomPopup(@NonNull Context context, String title, String contest) {
|
||||||
@ -48,8 +48,13 @@ public class HintCustomPopup extends CenterPopupView {
|
|||||||
TextView contestText = findViewById(R.id.contest);
|
TextView contestText = findViewById(R.id.contest);
|
||||||
liveOpenCancel = findViewById(R.id.live_open_cancel);
|
liveOpenCancel = findViewById(R.id.live_open_cancel);
|
||||||
liveOpenOk = findViewById(R.id.live_open_ok);
|
liveOpenOk = findViewById(R.id.live_open_ok);
|
||||||
|
if (!TextUtils.isEmpty(openOk)) {
|
||||||
liveOpenOk.setText(openOk);
|
liveOpenOk.setText(openOk);
|
||||||
|
}
|
||||||
|
if (!TextUtils.isEmpty(openCancel)) {
|
||||||
liveOpenCancel.setText(openCancel);
|
liveOpenCancel.setText(openCancel);
|
||||||
|
}
|
||||||
|
|
||||||
if (!TextUtils.isEmpty(title)) {
|
if (!TextUtils.isEmpty(title)) {
|
||||||
titleText.setText(title);
|
titleText.setText(title);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user