Abstract implementation of InterceptingActivityFactory which allows to intercept only one
activity at a time. Child classes are responsible for creating activity object.
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.
This method needs to be implemented by child class to create activity object for the given
intent that specified the activity class being instantiated.
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.
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.
Parameters
classLoader
ClassLoader: The ClassLoader with which to instantiate the object
className
String: The name of the class implementing the Activity object
intent
Intent: The Intent object that specified the activity class being instantiated.
Returns
boolean
true if activity with className should be intercepted, otherwise false.
This method needs to be implemented by child class to create activity object for the given
intent that specified the activity class being instantiated.
Parameters
intent
Intent: The Intent object that specified the activity class being instantiated.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-11 UTC."],[],[]]