When the user closes the edit text keyboard, I wanted to call a function that saves his response in sqlite, but I can't find a way to call this function when he closes the keyboard
            Asked
            
        
        
            Active
            
        
            Viewed 33 times
        
    0
            
            
        - 
                    You can check similar problem here: https://stackoverflow.com/questions/4745988/how-do-i-detect-if-software-keyboard-is-visible-on-android-device-or-not – Bernhard Josephus Aug 11 '22 at 11:35
- 
                    However, when closing the keyboard, the response disappears, as it is a listView, so I have to check when the user closes the keyboard – Kepler Batista Aug 11 '22 at 11:44
- 
                    Do you mean "the response" is the text which the user type from the keyboard? If yes, then you can just take the text from the `EditText`. – Bernhard Josephus Aug 11 '22 at 11:48
- 
                    Please provide enough code so others can better understand or reproduce the problem. – Community Aug 11 '22 at 16:45
