Data Validation and Error Handling

This lesson will cover how to validate user input text and show error messages.

View binding #

To interact with views we need to bind the view from XML to Java objects via the findViewById method.

Note: You can only start binding views after the activity has been created and the content view has been set.

Get hands-on with 1200+ tech skills courses.