belongs to Maven artifact com.android.support:support-fragment:28.0.0-alpha1
FragmentContainer
public
abstract
class
FragmentContainer
extends Object
java.lang.Object | |
↳ | android.support.v4.app.FragmentContainer |
Callbacks to a Fragment
's container.
Summary
Public constructors | |
---|---|
FragmentContainer()
|
Public methods | |
---|---|
Fragment
|
instantiate(Context context, String className, Bundle arguments)
Creates an instance of the specified fragment, can be overridden to construct fragments with dependencies, or change the fragment being constructed. |
abstract
View
|
onFindViewById(int id)
Return the view with the given resource ID. |
abstract
boolean
|
onHasView()
Return |
Public constructors
Public methods
instantiate
Fragment instantiate (Context context, String className, Bundle arguments)
Creates an instance of the specified fragment, can be overridden to construct fragments
with dependencies, or change the fragment being constructed. By default just calls
instantiate(Context, String, Bundle)
.
Parameters | |
---|---|
context |
Context |
className |
String |
arguments |
Bundle |
Returns | |
---|---|
Fragment |
onFindViewById
View onFindViewById (int id)
Return the view with the given resource ID. May return null
if the
view is not a child of this container.
Parameters | |
---|---|
id |
int |
Returns | |
---|---|
View |
onHasView
boolean onHasView ()
Return true
if the container holds any view.
Returns | |
---|---|
boolean |
Annotations
Interfaces
- ActionBarDrawerToggle.Delegate
- ActionBarDrawerToggle.DelegateProvider
- ActivityCompat.OnRequestPermissionsResultCallback
- ActivityCompat.PermissionCompatDelegate
- FragmentManager.BackStackEntry
- FragmentManager.OnBackStackChangedListener
- LoaderManager.LoaderCallbacks
- NotificationCompat.Action.Extender
- NotificationCompat.Extender
- SharedElementCallback.OnSharedElementsReadyListener
- TaskStackBuilder.SupportParentable
Classes
- ActionBarDrawerToggle
- ActivityCompat
- ActivityManagerCompat
- ActivityOptionsCompat
- AlarmManagerCompat
- AppLaunchChecker
- AppOpsManagerCompat
- BundleCompat
- DialogFragment
- Fragment
- Fragment.SavedState
- FragmentActivity
- FragmentContainer
- FragmentController
- FragmentHostCallback
- FragmentManager
- FragmentManager.FragmentLifecycleCallbacks
- FragmentManagerNonConfig
- FragmentPagerAdapter
- FragmentStatePagerAdapter
- FragmentTabHost
- FragmentTransaction
- FrameMetricsAggregator
- JobIntentService
- ListFragment
- LoaderManager
- NavUtils
- NotificationCompat
- NotificationCompat.Action
- NotificationCompat.Action.Builder
- NotificationCompat.Action.WearableExtender
- NotificationCompat.BigPictureStyle
- NotificationCompat.BigTextStyle
- NotificationCompat.Builder
- NotificationCompat.CarExtender
- NotificationCompat.CarExtender.UnreadConversation
- NotificationCompat.CarExtender.UnreadConversation.Builder
- NotificationCompat.DecoratedCustomViewStyle
- NotificationCompat.InboxStyle
- NotificationCompat.MessagingStyle
- NotificationCompat.MessagingStyle.Message
- NotificationCompat.Style
- NotificationCompat.WearableExtender
- NotificationCompatExtras
- NotificationCompatSideChannelService
- NotificationManagerCompat
- RemoteInput
- RemoteInput.Builder
- ServiceCompat
- ShareCompat
- ShareCompat.IntentBuilder
- ShareCompat.IntentReader
- SharedElementCallback
- TaskStackBuilder
Exceptions