I have a Gallery backed by a CursorAdapter. Here's a scenario: I am currently on the 0th position of the Gallery and the content of the cursor changes (1 row gets added to the cursor), which invokes the notifyDataSetChanged() and the new data is loaded. The gallery retains the currently displayed child by moving its current position pointer to 1.
Though I like this behavior, in my case, I want the gallery to reset its position to the 0th, basically, I want to always present the latest row to the user. I plan on setting a ContentObserver on my cursor and doing this myself. Is there a better way of doing it? -- 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

