IT. Expert System.

Android Reference

BaseExpandableListAdapter


android.widget

Class BaseExpandableListAdapter

Specified by:
getCombinedChildId in interface ExpandableListAdapter
Parameters:
groupId - The ID of the group that contains this child.
childId - The ID of the child.
Returns:
The unique (and possibly stable) ID of the child across all groups and children in this list.
  • getCombinedGroupId

    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.

    Gets an ID for a group that is unique across any item (either group or child) that is in this list. Expandable lists require each item (group or child) to have a unique ID among all children and groups in the list. This method is responsible for returning that unique ID given a group's ID. Furthermore, if ExpandableListAdapter.hasStableIds() is true, the returned ID must be stable as well.

Specified by:
getCombinedGroupId in interface ExpandableListAdapter
Parameters:
groupId - The ID of the group
Returns:
The unique (and possibly stable) ID of the group across all groups and children in this list.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 6 / 159177825. Delta: 0.04643 с