Stay organized with collections
Save and categorize content based on your preferences.
Factory2
interface Factory2 : LayoutInflater.Factory
Known Direct Subclasses
Activity |
An activity is a single, focused thing that the user can do.
|
|
Known Indirect Subclasses
AccountAuthenticatorActivity |
Base class for implementing an Activity that is used to help implement an AbstractAccountAuthenticator.
|
ActivityGroup |
A screen that contains and runs multiple embedded activities.
|
AliasActivity |
Stub activity that launches another activity (and then finishes itself) based on information in its component's manifest meta-data.
|
ExpandableListActivity |
An activity that displays an expandable list of items by binding to a data source implementing the ExpandableListAdapter, and exposes event handlers when the user selects an item.
|
LauncherActivity |
Displays a list of all activities which can be performed for a given intent.
|
ListActivity |
An activity that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item.
|
NativeActivity |
Convenience for implementing an activity that will be implemented purely in native code.
|
PreferenceActivity |
This is the base class for an activity to show a hierarchy of preferences to the user.
|
TabActivity |
For apps developing against android.os.Build.VERSION_CODES#HONEYCOMB or later, tabs are typically presented in the UI using the new ActionBar.newTab() and related APIs for placing tabs within their action bar area.
|
|
Summary
Inherited functions |
From class Factory
View? |
onCreateView(name: String, context: Context, attrs: AttributeSet)
Hook you can supply that is called when inflating from a LayoutInflater. You can use this to customize the tag names available in your XML layout files.
Note that it is good practice to prefix these custom names with your package (i.e., com.coolcompany.apps) to avoid conflicts with system names.
|
|
Public methods
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-04 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-04 UTC."],[],[]]