Java “我已实施”是什么意思;非活动InputConnection上的finishComposingText“;?
我有一个SQLite数据库。我的一列名为Java “我已实施”是什么意思;非活动InputConnection上的finishComposingText“;?,java,android,Java,Android,我有一个SQLite数据库。我的一列名为KEY\u SWITCH。我想将此列表中的整数转换为ArrayList,然后将其打印到我的控制台 这是我的密码: public ArrayList<Integer> getAllIntegerValues() { ArrayList<Integer> yourIntegerValues = new ArrayList<Integer>(); Cursor result = db.query(true, D
KEY\u SWITCH
。我想将此列表中的整数转换为ArrayList,然后将其打印到我的控制台
这是我的密码:
public ArrayList<Integer> getAllIntegerValues() {
ArrayList<Integer> yourIntegerValues = new ArrayList<Integer>();
Cursor result = db.query(true, DATABASE_TABLE,
new String[] {KEY_SWITCH}, null, null, null, null,
null, null);
if (result.moveToFirst()) {
do {
yourIntegerValues.add(result.getInt(result
.getColumnIndex(KEY_SWITCH)));
} while (result.moveToNext());
} else {
return null;
}
System.out.print(Arrays.toString(yourIntegerValues.toArray()));
return yourIntegerValues;
}
运行代码时,出现以下错误:
0x915c1380(RippledRavable)上带有句柄0x8F50150的EndAllActivateAnimator
我发现错误的变化取决于我在代码中启动getAllIntegerValues()
例如,当我创建了一个带有运行选项的下拉菜单时,我遇到了这个错误
带有句柄0x8ef83f50的0x8e3b5300(MenuOpupWindow$MenuDropDownList视图)上的EndAllActivateAnimators
我试图通过运行如下所示的try/catch来了解更多有关此错误的信息
DBAdapter_Metrics mydbmetric;
private SQLiteDatabase dbmetric;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_metric_list);
openDBMetrics();
populateListViewFromDNewBMetric();
mydbmetric.getAllIntegerValues();
}
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_metric_list);
openDBMetrics();
populateListViewFromDNewBMetric();
mydbmetric.getAllIntegerValues();
try { mydbmetric.getAllIntegerValues(); }
catch (Exception ex) { ex.printStackTrace();}
}
这产生了以下信息
…布局带/IInputConnectionWrapper:finishComposingText on inactive InputConnection
我的问题
这个错误意味着什么?为什么它阻止我将ArrayList打印到控制台/日志