Disable Button When EditText Is Empty (TextWatcher) - Android Studio Tutorial

Publié le: 06 avril 2018
sur la chaîne: Coding in Flow
114,387
1.8k

In this video we will learn how to use the TextWatcher's onTextChanged method to listen for input changes in an EditText field. This way we can for example enable/disable a button depending if there is text typed into a login form or not.

Example code:
https://gist.github.com/codinginflow/...

____________________
💻 Find the BEST programming tutorials on TutHub:
https://tuthub.io

⭐ Get my MVVM Caching Course now:
https://codinginflow.com/caching

❗ Subscribe to the channel:
   / codinginflo.  .

📨 Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter

❓ Join our free developer community:
  / discord  

📣 Follow Coding in Flow on other sites:
Facebook:   / codinginflow  
Instagram:   / codinginflow  
TikTok:   / codinginflow  
Twitter:   / codinginflow  
Github: https://github.com/codinginflow

💰 Business requests, sponsoring, etc.: info@codinginflow.com


Sur cette page du site, vous pouvez voir la vidéo en ligne Disable Button When EditText Is Empty (TextWatcher) - Android Studio Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Coding in Flow 06 avril 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 114,387 fois et il a aimé 1.8 mille téléspectateurs. Bon visionnage!