When you have an EditText in your app, for example, you're responsible for making sure what the user types into the box does not crash your app or does not receive an error from the API.
How do we fix this?
The current implementation is by using the idea of a contract. This implementation kinda works but the API is not very good. Let's make this better.
Requirements:
Each widget has different requirements. EditText, for example, is where you type in text. So that has a min amount of text, max amount, and a check if the text is valid such as an Int or email address.
When you have an EditText in your app, for example, you're responsible for making sure what the user types into the box does not crash your app or does not receive an error from the API.
How do we fix this?
The current implementation is by using the idea of a contract. This implementation kinda works but the API is not very good. Let's make this better.
Requirements: