| java.lang.Object | |
| ↳ | android.support.test.runner.intercepting.SingleActivityFactory<T extends android.app.Activity> |
Abstract implementation of InterceptingActivityFactory which allows to intercept only one
activity at a time. Child classes are responsible for creating activity object.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method can be used to provide activity instance while intercepting activity creation
for a particular activity in response to a given intent.
| |||||||||||
This method can be used to get the Class of activity being instantiated by this factory.
| |||||||||||
This method can be used to know whether activity instance creation should be intercepted or
not for a particular activity in response to a given intent.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method needs to be implemented by child class to create activity object for the given
intent that specified the activity class being instantiated.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.support.test.runner.intercepting.InterceptingActivityFactory
| |||||||||||
This method can be used to provide activity instance while intercepting activity creation for a particular activity in response to a given intent.
| classLoader | The ClassLoader with which to instantiate the object |
|---|---|
| className | The name of the class implementing the Activity object |
| intent | The Intent object that specified the activity class being instantiated. |
This method can be used to get the Class of activity being instantiated by this factory.
This method can be used to know whether activity instance creation should be intercepted or not for a particular activity in response to a given intent.
| classLoader | The ClassLoader with which to instantiate the object |
|---|---|
| className | The name of the class implementing the Activity object |
| intent | The Intent object that specified the activity class being instantiated. |
This method needs to be implemented by child class to create activity object for the given intent that specified the activity class being instantiated.
| intent | The Intent object that specified the activity class being instantiated. |
|---|