a的方法setSuggestionsAdapter给SearchView了我一个奇怪的错误:
我有一个InformationAdapter扩展的类CursorAdapter,但它说我不能将它转换为CursorAdapter.
SearchView 类型中的方法 setSuggestionsAdapter(CursorAdapter) 不适用于参数 (InformationAdapter)
InformationAdapter suggestionsAdapter = new InformationAdapter(false, this, suggestions, CursorAdapter.NO_SELECTION);
searchView.setSuggestionsAdapter(suggestionsAdapter);