doAfterTextChanged is used in the lab to:

  1. Send the SMS automatically
  2. Clear the field
  3. Update a live character counter as the user types
  4. Open the keyboard
Answer

C) Update a live character counter as the user types

It runs after each text change.

Computer Science MCQ · More Lab: Opening SMS and Email Apps MCQs · Practise