I'm trying to automatically scroll the list view based on the playing
of an audio file. The listview items will have English translation of
what is being played in the audio which will be in a foreign language.
So as the audi progresses, i need to keep the listview scrolling down.
I will maintain a mapping file with timestamps to directly the scroll.




On Jan 28, 5:01 am, YuviDroid <yuvidr...@gmail.com> wrote:
> Probably you want to take a look 
> at:http://developer.android.com/reference/android/widget/ListView.html#s...)
>
> orhttp://developer.android.com/reference/android/widget/ListView.html#s...)
>
> Although I'm not sure exactly what you are trying to accomplish. For
> example you say "I want to show the first item ..", but being a ListView
> you will probably see much more than one item.
>
>
>
>
>
>
>
>
>
> On Sat, Jan 28, 2012 at 6:32 AM, Giants203 <giants...@gmail.com> wrote:
> > I would like to auto scroll list view at specified time intervals
> > without user intervention. The time intervals will be supplied in an
> > array on integers  say 1000, 4000, 5000 in millisecs
>
> > I want to show the first list item as soon as the list launches
> > and then wait 10 sec to show the next list item on top of the list
> > (visible on the screen) and so on based on the time intervals shown
> > above.
>
> > What's the best way to accomplish this?
>
> > I was going through this <a href="http://groups.google.com/group/
> > android-beginners/browse_thread/thread/ea22a389eb900bbe?pli=1">thread</
> > a>  but the     getListView().setSelection() is taking directly to the
> > end of the list. There is no incremental update happening.
>
> > --
> > 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+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> YuviDroid
> Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a widget
> to quickly access your favorite apps and 
> contacts!)http://android.yuvalsharon.net

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to