ExpandableListActivity.SetSelectedChild(Int32, Int32, Boolean) メソッド

定義

選択範囲を指定した子に設定します。

[Android.Runtime.Register("setSelectedChild", "(IIZ)Z", "GetSetSelectedChild_IIZHandler")]
public virtual bool SetSelectedChild (int groupPosition, int childPosition, bool shouldExpandGroup);
[<Android.Runtime.Register("setSelectedChild", "(IIZ)Z", "GetSetSelectedChild_IIZHandler")>]
abstract member SetSelectedChild : int * int * bool -> bool
override this.SetSelectedChild : int * int * bool -> bool

パラメーター

groupPosition
Int32

子を含むグループの位置。

childPosition
Int32

グループ内の子の位置。

shouldExpandGroup
Boolean

子グループが折りたたまれている場合に展開する必要があるかどうか。

戻り値

選択が子に正常に設定されたかどうか。

属性

注釈

選択範囲を指定した子に設定します。 子が折りたたまれたグループ内にある場合は、グループのみが展開され、shouldExpandGroup が true に設定されている場合は子が選択され、それ以外の場合、メソッドは false を返します。

の Java ドキュメント android.app.ExpandableListActivity.setSelectedChild(int, int, boolean)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象