I have a EditText and I want to inform each time text changes (with entering each character). What implementation should I use and what function shou开发者_高级运维ld I override?
Use the addTextChangedListener method on your EditText and make your class implement or define an inner class implementing the TextWatcher class:
https://developer.android.com/reference/android/widget/TextView.html#addTextChangedListener(android.text.TextWatcher)
You can declare a boolean variable as false and at each time et.edited make it true
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论