语言

SimpleExpandableListAdapter.NewChildView(Boolean, ViewGroup) 方法

定义

实例化子级的新视图。

[Android.Runtime.Register("newChildView", "(ZLandroid/view/ViewGroup;)Landroid/view/View;", "GetNewChildView_ZLandroid_view_ViewGroup_Handler")]
public virtual Android.Views.View? NewChildView(bool isLastChild, Android.Views.ViewGroup? parent);
[<Android.Runtime.Register("newChildView", "(ZLandroid/view/ViewGroup;)Landroid/view/View;", "GetNewChildView_ZLandroid_view_ViewGroup_Handler")>]
abstract member NewChildView : bool * Android.Views.ViewGroup -> Android.Views.View
override this.NewChildView : bool * Android.Views.ViewGroup -> Android.Views.View

参数

isLastChild
Boolean

子级是否为其组中的最后一个子级。

parent
ViewGroup

此新视图的最终父级。

返回

新的子视图

属性

注解

实例化子级的新视图。

Java文档android.widget.SimpleExpandableListAdapter.newChildView(boolean, android.view.ViewGroup)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于