|
|
@@ -77,7 +77,7 @@ public class DialogPayAccount {
|
|
|
final View dialog_close = dialog_parent.findViewById(R.id.dialog_close);
|
|
|
LinearLayout dialog_center_ll = dialog_parent.findViewById(R.id.dialog_center_ll);
|
|
|
View view = LayoutInflater.from(activity).inflate(R.layout.dialog_pay_account, dialog_center_ll, true);
|
|
|
- dialog_title.setText("游戏中心");
|
|
|
+ dialog_title.setText(payEntity.getDetailShow());
|
|
|
|
|
|
TextView sureTv = view.findViewById(R.id.pay_sure_tv);
|
|
|
game_account_et = view.findViewById(R.id.game_account_et);
|
|
|
@@ -102,7 +102,7 @@ public class DialogPayAccount {
|
|
|
|
|
|
@Override
|
|
|
public void onTextChanged(CharSequence s, int start, int before, int count) {
|
|
|
- if (!TextUtils.isEmpty(s) && s.length() > 4 && payEntity != null) {
|
|
|
+ if (!TextUtils.isEmpty(s) && s.length() > 0 && payEntity != null && CommonUtil.getInstance().clickTime(500)) {
|
|
|
intitDataAccountList(s.toString(), payEntity);
|
|
|
}
|
|
|
}
|
|
|
@@ -207,7 +207,12 @@ public class DialogPayAccount {
|
|
|
SheepApp.getInstance()
|
|
|
.getNetComponent()
|
|
|
.getApiService()
|
|
|
- .rechargeGameList(Integer.parseInt(payEntity.getTaskType()), name)
|
|
|
+ .releaseGameTask(
|
|
|
+ 1,
|
|
|
+ 100,
|
|
|
+ 0,
|
|
|
+ TextUtils.isEmpty(payEntity.getTask_type())?"1002,1003,1004":payEntity.getTask_type(),
|
|
|
+ name)
|
|
|
.subscribeOn(Schedulers.io())
|
|
|
.observeOn(AndroidSchedulers.mainThread())
|
|
|
.subscribe(new SheepSubscriber<BaseMessage>(SheepApp.mContext) {
|