Category: API

Android Dynamic Form Fragment

Continuing on the same topic of saving the state of a fragment across screen flips, I’ve recently encountered a rather strange issue. I wanted a fragment representing a simple form, with a bunch of TextView as labels and EditText as fields. The real case scenario involved fetching some data over […]

Android Fragments, Saving State and Screen Rotation

Since the introduction of Loaders in Honeycomb and Compatibility Library, the Android world has changed for the better. However, it took me quite some time to dissect and understand the rather scarce documentation about how to work with these on special cases, like the hated case of screen configuration change – aka […]