Introduction to fragments
Landscape and portrait orientation
Interfragment communication
In the early days of Android, when it ran only on phones and there weren’t any high-resolution screens, activities were sufficient as a way of composing the UI and interacting with the user. Then came the tablets and high-resolution screens, and it became increasingly difficult to create applications that could run well on both phones and tablets. Developers were faced with hard choices. Either you choose the least capable hardware as the target and make it like the ...