On Wed, Sep 28, 2011 at 5:18 PM, John Goche <[email protected]>wrote:
> > I do have such methods. I cannot get the widget rows to observe the changes > in the data due to an input in one of the rows. > Well, I could call setAdapter() again each time the user types a keystroke, > but then the EditText widget where the user was > typing would lose the focus and refreshing the whole list rather than > refreshing just the list views is inefficient. The problem seems > to be I cannot set an observer on the rows to call after I change the > underlying Map data model. > > I have found the following link: http://stackoverflow.com/questions/5320358/update-listview-dynamically-with-adapter which points out how you can call myList.getAdapter().notifiyDataSetChanged() to update the listView without calling setAdapter(). The problem is that it refreshes the whole list view and the row the user is editing loses the focus. Instead I need to only refresh individual rows in the list. Is there a way to do this? Thanks, John Goche -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

