Hi Experts,
Can you please help me understand this situation? Specifically I am curious about updating a ListView after editing a list item using an AlertDialog.
My application is very simple. I am editing the text in a ListView item using the AlertDialog to show edit form. The edit form consists of a single textbox. Once edited I click the save button.
When running the emulator the on-screen keyboard shows so I can type (as you expect). If I click the "Done" button on the Emulator keyboard, the keyboard goes away (Scrolling down off bottom of screen). After the keyboard disappears I click my "Save" button to save the changes. When the Done button is clicked and keyboard disappears, the edit doesnt take place as it should (or as I expect it to).
In the other case, If i do not press the "Done" key and leave the onscreen keyboard alone, press my "save" button, the ListView is updated to reflect the change in text.
Does this make sense? Why does the ListView not get updated if I press the done button on the on-screen keyboard prior to saving the change?
Glad to post code if you like. Please advise. Thank you!