修复支付弹窗问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user