ExpandableListActivity.OnChildClick 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當有孩子被點擊時,會覆蓋這個設定,避免收到回撥。
[Android.Runtime.Register("onChildClick", "(Landroid/widget/ExpandableListView;Landroid/view/View;IIJ)Z", "GetOnChildClick_Landroid_widget_ExpandableListView_Landroid_view_View_IIJHandler")]
public virtual bool OnChildClick(Android.Widget.ExpandableListView? parent, Android.Views.View? v, int groupPosition, int childPosition, long id);
[<Android.Runtime.Register("onChildClick", "(Landroid/widget/ExpandableListView;Landroid/view/View;IIJ)Z", "GetOnChildClick_Landroid_widget_ExpandableListView_Landroid_view_View_IIJHandler")>]
abstract member OnChildClick : Android.Widget.ExpandableListView * Android.Views.View * int * int * int64 -> bool
override this.OnChildClick : Android.Widget.ExpandableListView * Android.Views.View * int * int * int64 -> bool
參數
- parent
- ExpandableListView
點擊發生的 ExpandableListView
- v
- View
點擊的可展開清單/清單檢視內的視圖
- groupPosition
- Int32
包含被點擊的兒童的群組位置
- childPosition
- Int32
群體中的子角色位置
- id
- Int64
點擊的那個孩子列 ID
傳回
實作
- 屬性
備註
當有孩子被點擊時,會覆蓋這個設定,避免收到回撥。
待補充
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。