我只想从String[] groupFrom = new String[]{Database.DATABASE_GROUP_1};
中选择NON NULL字符串
传递给adpater:
SimpleCursorTreeAdapter simplecursortreeAdapter = new ExpandableListViewAdapter(
this,
cursor,
R.layout.list_group,
groupFrom,
groupTo,
R.layout.list_child,
childFrom,
childTo
);
答案 0 :(得分:0)
通过类似以下内容循环浏览
:if (groupform[i] != null)
// Do stuff
我正在从这里进行调整: