BaseExpandableListAdapter.GetChildView 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.
Gets a View that displays the data for the given child within the given group.
[Android.Runtime.Register("getChildView", "(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;", "GetGetChildView_IIZLandroid_view_View_Landroid_view_ViewGroup_Handler")]
public abstract Android.Views.View? GetChildView (int groupPosition, int childPosition, bool isLastChild, Android.Views.View? convertView, Android.Views.ViewGroup? parent);
[<Android.Runtime.Register("getChildView", "(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;", "GetGetChildView_IIZLandroid_view_View_Landroid_view_ViewGroup_Handler")>]
abstract member GetChildView : int * int * bool * Android.Views.View * Android.Views.ViewGroup -> Android.Views.View
Parameters
- groupPosition
- Int32
the position of the group that contains the child
- childPosition
- Int32
the position of the child (for which the View is returned) within the group
- isLastChild
- Boolean
Whether the child is the last child within the group
- convertView
- View
the old view to reuse, if possible. You should check
that this view is non-null and of an appropriate type before
using. If it is not possible to convert this view to display
the correct data, this method can create a new view. It is not
guaranteed that the convertView will have been previously
created by
#getChildView(int, int, boolean, View, ViewGroup)
.
- parent
- ViewGroup
the parent that this view will eventually be attached to
Returns
the View corresponding to the child at the specified position
Implements
- Attributes
Remarks
Gets a View that displays the data for the given child within the given group.
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.