android Programming Glossary: childlayout
SimpleCursorTreeAdapter and CursorLoader for ExpandableListView http://stackoverflow.com/questions/10611927/simplecursortreeadapter-and-cursorloader-for-expandablelistview the database on the main thread. public GroupsAdapter Context context GroupsListFragment glf int groupLayout int childLayout String groupFrom int groupTo String childrenFrom int childrenTo super context null groupLayout groupFrom groupTo childLayout.. String groupFrom int groupTo String childrenFrom int childrenTo super context null groupLayout groupFrom groupTo childLayout childrenFrom childrenTo mActivity ContactManager context mFragment glf @Override protected Cursor getChildrenCursor Cursor.. the database on the main thread. public GroupsAdapter Context context GroupsListFragment glf int groupLayout int childLayout String groupFrom int groupTo String childrenFrom int childrenTo super context null groupLayout groupFrom groupTo childLayout..
How to update expandable list view when adapter's data changes http://stackoverflow.com/questions/1463906/how-to-update-expandable-list-view-when-adapters-data-changes extends SimpleCursorTreeAdapter public MyExpandableListAdapter Cursor cursor Context context int groupLayout int childLayout String groupFrom int groupTo String childrenFrom int childrenTo super context cursor groupLayout groupFrom groupTo childLayout.. String groupFrom int groupTo String childrenFrom int childrenTo super context cursor groupLayout groupFrom groupTo childLayout childrenFrom childrenTo @Override protected Cursor getChildrenCursor Cursor notebookCursor Given the group we return..
|