修复支付弹窗问题

This commit is contained in:
hch
2023-12-01 13:33:49 +08:00
parent b8264997f4
commit b35d5d242e
3 changed files with 56 additions and 11 deletions

View File

@@ -204,7 +204,7 @@ public class IMLoginModel extends BaseModel {
@SerializedName("votes")
private String votes;
@SerializedName("yuanbao")
private long yuanbao;
private double yuanbao;
@SerializedName("list")
private List<List<ListModel>> list;
@SerializedName("slide")
@@ -825,7 +825,7 @@ public class IMLoginModel extends BaseModel {
return this;
}
public long getYuanbao() {
public double getYuanbao() {
return yuanbao;
}

View File

@@ -17,9 +17,11 @@ public class LoadingDialog extends AbsDialogFragment {
private TextView hint;
private String showText = "";
public boolean isShow;
public void setShowText(String showText) {
this.showText = showText;
isShow = true;
}
@Override
@@ -44,19 +46,21 @@ public class LoadingDialog extends AbsDialogFragment {
hint = (TextView) findViewById(R.id.hint);
dots.start();
hint.setText(showText);
isShow = true;
}
public void setHintText(String text) {
if (hint != null) {
hint.setText(text);
}
isShow = true;
}
@Override
public void onDestroy() {
super.onDestroy();
dots.stop();
isShow = false;
}
@Override