mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixed bug whereby clicking a childcursor (feed) would call the wrong cursor
This commit is contained in:
parent
6aac04e83b
commit
4f6b8f4f8a
1 changed files with 2 additions and 2 deletions
|
@ -142,13 +142,13 @@ public class MixedExpandableListAdapter extends BaseExpandableListAdapter{
|
|||
|
||||
@Override
|
||||
public Cursor getChild(int groupPosition, int childPosition) {
|
||||
groupPosition = groupPosition - blogCursorHelper.getCount();
|
||||
groupPosition = groupPosition - blogCursorHelper.getCount() - 1;
|
||||
return getChildrenCursorHelper(groupPosition, true).moveTo(childPosition);
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getChildId(int groupPosition, int childPosition) {
|
||||
groupPosition = groupPosition - blogCursorHelper.getCount();
|
||||
groupPosition = groupPosition - blogCursorHelper.getCount() - 1;
|
||||
return getChildrenCursorHelper(groupPosition, true).getId(childPosition);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue