java.lang.Object |
↳ |
sofia.app.internal.AbsActivityStarter |
|
↳ |
sofia.app.ActivityStarter |
Class Overview
Starts another screen or activity for the user and slides it into view. This
class can be used in one of two ways:
- To start a subclass of
Screen
(or MapScreen
), you create
an ActivityStarter
and pass it the class that should be started and
the arguments that you want to pass to its initialize
method. When
the activity returns, a callback will be called based on the name of the
activity class.
- To start a traditional Android activity based on an
Intent
, pass
the Intent
object and the name of a callback method that will be
called when the activity returns.
Users can use this class directly but should probably prefer the
Screen#presentScreen(Class, Object...) and
Screen#presentActivity(Intent, String) methods instead.
Summary
[Expand]
Inherited Methods |
From class
sofia.app.internal.AbsActivityStarter
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
Protected Methods
protected
String
getCanceledCallback
()
protected
String
getDefaultCallback
()
protected
void
invokeCallback
(Activity owner, Intent data, int resultCode)