2 taocgz taocgz 于 2016.09.22 17:37 提问

unable to create new native thread

mSuggestionSearch = SuggestionSearch.newInstance();
mSuggestionSearch.setOnGetSuggestionResultListener(new OnGetSuggestionResultListener() {

        @Override
        public void onGetSuggestionResult(SuggestionResult arg0) {
            // TODO Auto-generated method stub
            if(arg0 == null || arg0.getAllSuggestions() == null) {
                return;
            }
            myArrayAdapter.clear();
            for(SuggestionResult.SuggestionInfo info : arg0.getAllSuggestions()) {
                if(info.key != null) {
                    myArrayAdapter.add(info.key);
                }
            }           
            myArrayAdapter.notifyDataSetChanged();
        }
    });

    执行完这段代码后跳转到下面图片这里,求大神解答一下

1个回答

dabocaiqq
dabocaiqq   2016.09.24 23:36
Csdn user default icon
上传中...
上传图片
插入图片