Pages

Affichage des articles dont le libellé est ANDROID : FRAGMENT SWAPPING. Afficher tous les articles
Affichage des articles dont le libellé est ANDROID : FRAGMENT SWAPPING. Afficher tous les articles

mardi 28 mai 2013

Android FRAGMENT SWAPPING

This android tutorial shows how to swap two fragments. The goal was to re-use the fragment instances when rotating, no new fragment instances are re-created when rotating. There is also two layouts : one for portrait mode and one for landscape mode. In portrait mode, the second panel is below the first panel. In landscape mode, the second panel is on the right of the first panel. The support android library has been used.