使用setOnFocusChangeListener编辑文本

时间:2018-03-23 09:46:44

标签: android android-edittext

当我们在edittext中插入一个值时,我想要9个edittext,这个数字存在于另一个edittext中,并显示一条消息,例如,如果我在et0中输入4,则4已经在另一个editext中插入了类型为setError的消息( "你只能使用4个") enter image description here

以下是我正在使用的代码

{
   "query": {
      "bool": {
         "must": [
            {
               "term": {
                  "key": "A1"
               }
            },
            {
               "terms": {
                  "text": [
                     "mac",
                     "pc"
                  ]
               }
            }
         ]
      }
   },
   "aggs": {
      "BUCKET_NAME": {
         "terms": {
            "field": "text",
            "min_doc_count":2
         }
      }
   }
}
其他edittext

同样的事情

0 个答案:

没有答案
相关问题