Fragment.StartActivity 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.
Overloads
StartActivity(Intent, Bundle) |
Call |
StartActivity(Intent) |
Call |
StartActivity(Intent, Bundle)
Call Activity#startActivity(Intent, Bundle)
from the fragment's
containing Activity.
[Android.Runtime.Register("startActivity", "(Landroid/content/Intent;Landroid/os/Bundle;)V", "GetStartActivity_Landroid_content_Intent_Landroid_os_Bundle_Handler")]
public virtual void StartActivity (Android.Content.Intent? intent, Android.OS.Bundle? options);
[<Android.Runtime.Register("startActivity", "(Landroid/content/Intent;Landroid/os/Bundle;)V", "GetStartActivity_Landroid_content_Intent_Landroid_os_Bundle_Handler")>]
abstract member StartActivity : Android.Content.Intent * Android.OS.Bundle -> unit
override this.StartActivity : Android.Content.Intent * Android.OS.Bundle -> unit
Parameters
- intent
- Intent
The intent to start.
- options
- Bundle
Additional options for how the Activity should be started.
See android.content.Context#startActivity(Intent, Bundle)
Context.startActivity(Intent, Bundle)} for more details.
- Attributes
Remarks
Call Activity#startActivity(Intent, Bundle)
from the fragment's containing Activity.
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
StartActivity(Intent)
Call Activity#startActivity(Intent)
from the fragment's
containing Activity.
[Android.Runtime.Register("startActivity", "(Landroid/content/Intent;)V", "GetStartActivity_Landroid_content_Intent_Handler")]
public virtual void StartActivity (Android.Content.Intent? intent);
[<Android.Runtime.Register("startActivity", "(Landroid/content/Intent;)V", "GetStartActivity_Landroid_content_Intent_Handler")>]
abstract member StartActivity : Android.Content.Intent -> unit
override this.StartActivity : Android.Content.Intent -> unit
Parameters
- intent
- Intent
The intent to start.
- Attributes
Remarks
Call Activity#startActivity(Intent)
from the fragment's containing Activity.
Java documentation for android.app.Fragment.startActivity(android.content.Intent)
.
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.