Monday, August 29, 2011

[android-developers] Horizontal progress bar in Dynamic list view

Hi All,

I have listview which is dynamic in nature.That means, the items are
getting added/removed to/from the list frequently(ListAdapter get
populated and notifydatasetchanged() get called).

Each item(row) corresponds to one song(like playlist) and has Play
button.
when user presses play button, song starts playing in the back ground
and at the same time play control view with play/pause, seek bar opens
up in the corresponding row.

The problem I am facing here is, when some song is being played and
list get refreshed, the progress bar / seek bar is not updating
properly.
seek bar indicates that playback completed but actually playback not
yet finished and still user can hear the music.

In summary, how to manage progress bar in dynamic list view..??

It would be helpful if anybody provide some pointers..

Thanks
ganesh

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment