Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2012-12-31
4
Medium Priority
?
469 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
PCableGuy earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The case of the missing phone talks about the way a small electronic gadget (the mobile phone) has penetrated into our lives and has made us addicted to it.
If your app took Google’s lash recently, here are the 5 most likely reasons.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Suggested Courses

719 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