androidx.fragment:fragment

Official Description: The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later.

CommonsWare’s Notes

This artifact contains the AndroidX edition of Fragment, the now-official fragment implementation, given that the framework implementation is deprecated. This artifact also contains FragmentActivity, which you need to inherit from if you have an activity that wishes to use fragments. Many apps’ activities will be extending AppCompatActivity, which itself inherits from FragmentActivity.

This artifact also contains:

Documentation

Samples

Versions