Appendix B. Common Task Reference

While working on Android apps, you are likely to learn certain tasks well. You will know the Activity and Fragment lifecycles without needing a reference. You will know how to execute code on a background thread. You will know how to do many tasks because you will have to do them all the time; however, some tasks you only need to do every now and then. You need to do them just often enough that you wish you could easily remember how to accomplish them, but not often enough to necessarily memorize them. Appendix B is meant to show you how to do some of these tasks and serve as a future reference.

Dismissing the Software Keyboard

Generally, Android does a good job of showing and hiding the Android keyboard as ...

Get Android User Interface Design: Implementing Material Design for Developers, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.