Wednesday, November 4, 2009

Re: [android-developers] Dynamically grow listview

This approach is good but in first place i was looking for something else. In the article the method of growing the listview is simply to take care when the last visible element is reached and the listview grows with new elements (just like in android store when you scroll down apps) but what i was looking for is to implement something more like the native Android Music player. When you upload 2000 song on your sd card and start the Music Player the list with songs grow automatically and you see how the scroll is getting smaller. It's seems the player is querying the database all the time.
Any idea how this functionality is implemented in the native android Music Player.

On Mon, Nov 2, 2009 at 8:15 PM, Martin Obreshkov <manigoad@gmail.com> wrote:
Thanks, this is just what i was looking for


On Mon, Nov 2, 2009 at 8:07 PM, Carmen Delessio <carmendelessio@gmail.com> wrote:
AndroidGuys has an article for that:
http://www.androidguys.com/2009/10/21/tutorial-autogrowing-listview/
--
Carmen
http://www.twitter.com/CarmenDelessio
http://www.talkingandroid.com
http://www.facebook.com/BFFPhoto
http://www.twitter.com/DroidDrop


On Mon, Nov 2, 2009 at 1:50 PM, manigault <manigoad@gmail.com> wrote:
Hi,
I am trying to make ListView which should display data from db. But
the db is filled slowly so want the entries in the ListView to grow
dynamically according to the elements in db.
For example on a desktop music player when you import a folder to the
music library the list with songs is filling in real time with the
newly added songs.
So how can i get this working on android.

--
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





--
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



--
When I raise my flashing sword, and my hand takes hold on judgment, I will take vengeance upon mine enemies, and I will repay those who haze me. Oh, Lord, raise me to Thy right hand and count me among Thy saints.



--
When I raise my flashing sword, and my hand takes hold on judgment, I will take vengeance upon mine enemies, and I will repay those who haze me. Oh, Lord, raise me to Thy right hand and count me among Thy saints.

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate