ExpandableListView.GetFlatListPosition(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a group and/or child position to a flat list position.
[Android.Runtime.Register("getFlatListPosition", "(J)I", "GetGetFlatListPosition_JHandler")]
public virtual int GetFlatListPosition (long packedPosition);
[<Android.Runtime.Register("getFlatListPosition", "(J)I", "GetGetFlatListPosition_JHandler")>]
abstract member GetFlatListPosition : int64 -> int
override this.GetFlatListPosition : int64 -> int
Parameters
- packedPosition
- Int64
The group and/or child positions to be converted in
packed position representation. Use
#getPackedPositionForChild(int, int)
or
#getPackedPositionForGroup(int)
.
Returns
The flat list position for the given child or group.
- Attributes
Remarks
Converts a group and/or child position to a flat list position. This is useful in situations where the caller needs to use the underlying ListView
's methods.
Java documentation for android.widget.ExpandableListView.getFlatListPosition(long)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.