We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AndroidX AppCompat already depends on it, ktx is a fancy addition
Updated Creating and Using Fragments (markdown)
Update to AndroidX
"fill_parent" is deprecated. Use "match_parent".
getRegisteredFragment() is not an official api - found a custom implementation of it in a StackOverflow post
The onViewCreated() should call his super method.
Revert 982355273cbd0bcca0b92ae95a29e23f8245d16f...3d9085cf81b97ea5e215ce2741ed55a1a5567488 on Creating and Using Fragments
A very important tip for fragment transaction.
Include example onDetach code which nulls out the listener to prevent memory leaks
Fixing typo
Update fragments to use latest onAttach method
I have replaced http://developer.android.com/images/fragment_lifecycle.png with https://github.com/xxv/android-lifecycle. The github linke has much more detailed information on Activity/Fragment lifecycle
Replace FragmentActivity with AppCompatActivity