I have multiple different listView adapters. Each listView adapter has some editText. When user is editing editText, the soft keyboard will show up. I want to update the text in editText when user hit BACK button to dismiss keyboard.
For updating info, I will need to know which adapter class is handling, which position of this editText is editing, and the content of text.
I have googled all the possible solutions. There is one to set up a custom editText class, and override OnKeyPreIme
function. This solution couldn't get me all the infomation i want above.
Please suggest me some way to intercept BACK button I could implement in the adapter class. Or Which I could easily get the info I want to update.