Solved

Clicking on-screen keyboard DONE button doesn't update ListView immediately?

Posted on 2012-12-31
4
451 Views
Last Modified: 2013-01-06
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!
0
Comment
Question by:Gregg
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
PCableGuy earned 500 total points
ID: 38735330
Please post some code. Thanks.
0
 
LVL 10

Author Closing Comment

by:Gregg
ID: 38747404
Thanks. Gonna deal with it for now. Not critical at this time.
0
 
LVL 12

Expert Comment

by:PCableGuy
ID: 38748517
OK, thanks for donating the points. Good luck.
0
 
LVL 10

Author Comment

by:Gregg
ID: 38748941
Sure!  I believe the effort was put forth since you were willing to take on the obscure question. As I been working with my project it seems to be fine. Perhaps I needed to clean project or maybe I fixed issue by continuing to work on it. Who knows?  I think it's fine now. :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Here, we have shared an easy step by step tutorial on how to download instagram images and videos on PC, Android Mobile and iOS mobile.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question