|
|
@@ -2,6 +2,7 @@ package com.sheep.gamegroup.view.dialog;
|
|
|
|
|
|
import android.app.Activity;
|
|
|
import android.content.DialogInterface;
|
|
|
+import android.os.Handler;
|
|
|
import android.support.v7.app.AlertDialog;
|
|
|
import android.text.Editable;
|
|
|
import android.text.TextUtils;
|
|
|
@@ -422,6 +423,7 @@ public class DialogPayGame {
|
|
|
@Override
|
|
|
public void onTextChanged(CharSequence s, int start, int before, int count) {
|
|
|
if (!TextUtils.isEmpty(s) && s.length() > 0 && CommonUtil.getInstance().clickTime(500)) {
|
|
|
+ cleanClick();
|
|
|
makePriceShow(s.toString());
|
|
|
}
|
|
|
}
|
|
|
@@ -465,4 +467,19 @@ public class DialogPayGame {
|
|
|
list.get(0).setName(p);
|
|
|
adpPayGameDialog.notifyDataSetChanged();
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 清除gridview 选中
|
|
|
+ */
|
|
|
+ private void cleanClick(){
|
|
|
+ new Handler().postDelayed(new Runnable() {
|
|
|
+ @Override
|
|
|
+ public void run() {
|
|
|
+ for(int i=0;i<wlLists.size();i++){
|
|
|
+ wlLists.get(i).getGridViewEntity().setSelectState(false);
|
|
|
+ }
|
|
|
+ adapter.notifyDataSetChanged();
|
|
|
+ }
|
|
|
+ },10);
|
|
|
+ }
|
|
|
}
|