Solved

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

Posted on 2012-12-31
4
462 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 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

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.
These days software publishers make it possible to move all the possible applications on smartphones, tablets, smartwatches, and more. Although behind every logic and decision is a gross doubt: how do they make it possible? In this blog post, we sha…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

626 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