with Learning Fragments from Developer documentation, also check out https://developer.android.com/topic/libraries/architecture/navigation/
There you will find the latest Do's and Don'ts while using fragments.
As from last Google I/O they recommended to use Navigation library with Activity-Fragments
Although this is something Advance, but it will be greatly useful if you can correctly implement it