Q:

bindChildView and bindGroupView same cursor

using getChildrenCursor how to make bindChildView receive the same cursor as bindGroupView?
        @Override
        protected Cursor getChildrenCursor(Cursor groupCursor) {

            Cursor childCursor = groupCursor;//bd.ReadData("select * from images where _id="+2);

            return childCursor;
        }

this way returns the Cursor of all groups and not specific to one Group...

A:

By getting the GroupId was able to query the correct row for each child as below
        @Override
        protected Cursor getChildrenCursor(Cursor groupCursor) {

            int groupPos = groupCursor.getPosition();
            int groupId = groupCursor.getInt(groupCursor.getColumnIndex("_id"));
            Log.d("data","Show data groupPos->" + groupPos + "ID->" + groupId);

            Cursor childCursor = bd.ReadData("select * from images where _id="+groupId);

            return childCursor;

        }

        @Override
        public int getChildrenCount(int groupPosition) {
            return 1;
        }

