belongs to Maven artifact com.android.support:support-fragment:28.0.0-alpha1
FragmentActivity
public
class
FragmentActivity
extends Activity
implements
LifecycleOwner,
ViewModelStoreOwner,
ActivityCompat.OnRequestPermissionsResultCallback
java.lang.Object | |||||
↳ | android.content.Context | ||||
↳ | android.content.ContextWrapper | ||||
↳ | android.view.ContextThemeWrapper | ||||
↳ | android.app.Activity | ||||
↳ | android.support.v4.app.FragmentActivity |
![]() |
Base class for activities that want to use the support-based
Fragment
and
Loader
APIs.
When using this class as opposed to new platform's built-in fragment
and loader support, you must use the getSupportFragmentManager()
and getSupportLoaderManager()
methods respectively to access
those features.
Known limitations:
-
When using the
<fragment>
tag, this implementation can not use the parent view's ID as the new fragment's ID. You must explicitly specify an ID (or tag) in the<fragment>
.
Summary
Inherited constants |
---|
![]()
android.app.Activity
|
![]()
android.content.Context
|