Chapter 13
Handling User Input
In This Chapter
- Working with EditText widgets
- Creating date and time pickers
- Setting up alert dialog boxes
- Validating user input
It's rare to find an application that does not allow user input. Users almost always need to interact with an application in one way or another — through the use of text, date pickers, time pickers, or any other input mechanisms, such as radio buttons or check boxes,. Although the input mechanism may provide a way for users to interact with your application, they won't be chit-chatting and spurring up small talk. User input, in this sense, refers to buttons, screen-dragging, menus, long-pressing, and various other options. In this chapter, I focus solely on user input in the form of free-form text, date and times, and alerts — the sort of input you're most likely to encounter in your Task Reminder application.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access