paint-brush
Understanding Fragments in Android: Part 2by@azamatnurkhojayev
630 reads
630 reads

Understanding Fragments in Android: Part 2

by Azamat Nurkhojayev6mOctober 29th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Understanding Fragments in Android: Part 2
Azamat Nurkhojayev HackerNoon profile picture
Azamat Nurkhojayev

Azamat Nurkhojayev

@azamatnurkhojayev

I'm an Android developer. Teaches courses at the programming school, and writes articles about development.

Learn More
LEARN MORE ABOUT @AZAMATNURKHOJAYEV'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Azamat Nurkhojayev HackerNoon profile picture
Azamat Nurkhojayev@azamatnurkhojayev
I'm an Android developer. Teaches courses at the programming school, and writes articles about development.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite