Tobias Moe Thorstensen
Tobias Moe Thorstensen

Reputation: 8981

How to check if a EditText field has change content under runtime in Android

How can I check if two EditTextField's have changed content under runtime in android? I want to enable a button if both EditTextField's have some content.

Thanks in advance.

Upvotes: 2

Views: 628

Answers (1)

QED
QED

Reputation: 9923

EditText is a subclass of TextView, which has the method you're looking for, addTextChangedListener().

Upvotes: 4

Related Questions