Methods Summary |
---|
public boolean | areAllItemsEnabled()
return true;
|
public long | getCombinedChildId(long groupId, long childId)Override this method if you foresee a clash in IDs based on this scheme:
Base implementation returns a long:
bit 0: Whether this ID points to a child (unset) or group (set), so for this method
this bit will be 1.
bit 1-31: Lower 31 bits of the groupId
bit 32-63: Lower 32 bits of the childId.
{@inheritDoc}
return 0x8000000000000000L | ((groupId & 0x7FFFFFFF) << 32) | (childId & 0xFFFFFFFF);
|
public long | getCombinedGroupId(long groupId)Override this method if you foresee a clash in IDs based on this scheme:
Base implementation returns a long:
bit 0: Whether this ID points to a child (unset) or group (set), so for this method
this bit will be 0.
bit 1-31: Lower 31 bits of the groupId
bit 32-63: Lower 32 bits of the childId.
{@inheritDoc}
return (groupId & 0x7FFFFFFF) << 32;
|
public boolean | isEmpty(){@inheritDoc}
return getGroupCount() == 0;
|
public void | notifyDataSetChanged(){@see DataSetObservable#notifyChanged()}
mDataSetObservable.notifyChanged();
|
public void | notifyDataSetInvalidated(){@see DataSetObservable#notifyInvalidated()}
mDataSetObservable.notifyInvalidated();
|
public void | onGroupCollapsed(int groupPosition)
|
public void | onGroupExpanded(int groupPosition)
|
public void | registerDataSetObserver(android.database.DataSetObserver observer)
mDataSetObservable.registerObserver(observer);
|
public void | unregisterDataSetObserver(android.database.DataSetObserver observer)
mDataSetObservable.unregisterObserver(observer);
|