public interface ActivityStarter
Activity
.Modifier and Type | Method and Description |
---|---|
void |
start()
Starts the
Activity , by calling
Activity#startActivity(android.content.Intent) for the previously given
Context or Fragment or support Fragment
objects. |
void |
startForResult(int requestCode)
Starts the
Activity for result, by calling
Activity#startActivityForResult(android.content.Intent, int) for the
previously given Context or Fragment or
support Fragment objects. |
void start()
Activity
, by calling
Activity#startActivity(android.content.Intent)
for the previously given
Context
or Fragment or support Fragment
objects. It also passes the given extras, the options
Bundle
, if new methods are available which
accept that.void startForResult(int requestCode)
Activity
for result, by calling
Activity#startActivityForResult(android.content.Intent, int)
for the
previously given Context
or Fragment or
support Fragment objects. It also passes the given extras, the options
Bundle
, if new methods are available which
accept that.requestCode
- this code will be returned in onActivityResult() when the
activity exits.Copyright © 2010-2015. All Rights Reserved.