我想要显示
ArrayAdapter<com.example.database.Sms>adapter = new SmsAdapter(this, smss);
和
ArrayAdapter<com.example.database2.part1> adapter = new DastanAdapter(this, part1);
但是根据我的代码,它只显示其中一个,但我想让它们都显示
public void refreshDisplay() {
Log.i(com.example.database.DBAdapter.TAG, smss.size() + "= tedad smss");
ArrayAdapter<com.example.database.Sms>adapter = new SmsAdapter(this, smss);
setListAdapter(adapter);
}
public void refreshDisplay2() {
Log.i(DBAdapter.TAG, part1.size() + "= tedad part1");
ArrayAdapter<com.example.database2.part1> adapter = new DastanAdapter(this, part1);
setListAdapter(adapter);
}