March 2013
Beginner to intermediate
580 pages
16h 11m
English
From here on, all of the apps in this book will use fragments – no matter how simple. This may seem like overkill. Many of the examples you will see in following chapters could be written without fragments. The user interfaces could be created and managed from activities, and doing so might even be less code.
However, we believe it is better for you to become comfortable with the pattern you will most likely use in real life.
You might think it would be better to begin a simple app without fragments and add them later, when (or if) necessary. There is an idea in Extreme Programming methodology called YAGNI. YAGNI stands for “You Aren’t Gonna Need It,” and it urges you not to write code if you ...
Read now
Unlock full access