Fragmentation has long been a challenge for Android developers as they attempt to write applications that will work on the various versions of the OS and the myriad of devices that run them. Now Google is attempting to make fragmentation less of an issue with a new “Fragment” library.
Fragment is particularly useful for those building tablet apps. “For developers starting work on tablet-oriented applications designed for Android 3.0, the new Fragment API is useful for many design situations that arise from the larger screen,” said Google’s Dianne Hackborn. “Reasonable use of fragments should also make it easier to adjust the resulting application’s UI to new devices in the future as needed–for phones, TVs, or wherever Android appears.”