![]() Since 2011, we’ve discovered better options for Square. Google recommended fragments, and we wanted to make our code standard. it mirrors the behavior of the activity stack within a single activity).īecause fragments are built on top of views and views can easily be animated, fragments would give us better control over screen transitions. The fragment API provides backstack management, (i.e. Fragments help build responsive UIs.įragments are view controllers they hold decoupled chunks of business logic that can be tested. In 2011, we decided to use fragments for the following reasons:Īt this time, we did not yet support tablets - but knew we wanted to eventually. Recently I gave a tech talk at Droidcon Paris, where I explained the problems Square had with Android fragments and how others could avoid using any fragments.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |