Fragment.SetTargetFragment(Fragment, Int32) Fragment.SetTargetFragment(Fragment, Int32) Method

Definition

Optional target for this fragment.

[Android.Runtime.Register("setTargetFragment", "(Landroid/app/Fragment;I)V", "GetSetTargetFragment_Landroid_app_Fragment_IHandler")]
public virtual void SetTargetFragment (Android.App.Fragment fragment, int requestCode);
abstract member SetTargetFragment : Android.App.Fragment * int -> unit
override this.SetTargetFragment : Android.App.Fragment * int -> unit

Parameters

fragment
Fragment Fragment

The fragment that is the target of this one.

requestCode
Int32 Int32

M:Android.App.Fragment.OnActivityResult(System.Int32,Android.App.Result,Android.App.Result)

Remarks

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.

Applies to