Too Long; Didn't Read
In this article, we will analyze the interesting points of the Fragment API. I think that it will be of interest to all developers who develop an application for Android. We can describe transactions in a DSL style and the functions `beginTransaction()` and `commit()` or `commitAllowStateLoss()` are called under the hood. All of the above FragmentManager can do on its own. We just need to allow it by adding `setReorderingAllowed(true)` to the transaction we want to optimize.