[android-developers] Re: How does Android Market fill in a list?

2009-07-22 Thread sheik ahmed
Thanks for the response... it very much solved the problem... i was not aware of the notifyDataChanged() method and the List8.java example in the API demos .. as i was referring the SlowAdapter.java ... i really appreciate ur help .. Keep the good work.. thanks again.. Regards, Sheik.. On

[android-developers] Re: How does Android Market fill in a list?

2009-07-21 Thread Moto
Not sure if this will help you but here it goes: Create a custom adapter and make its data public to that you can append your new data to it as it downloads. When you get say 10 items loaded you could trigger on the adapter notifiDataChanged. This will just refresh the data and take care of

[android-developers] Re: How does Android Market fill in a list?

2009-07-21 Thread Moto
John thanks for your post... I guess I'm over thinking this task... Thanks will use a thread for that... On Jul 21, 12:54 pm, Moto medicalsou...@gmail.com wrote: Not sure if this will help you but here it goes: Create a custom adapter and make its data public to that you can append your

[android-developers] Re: How does Android Market fill in a list?

2009-07-20 Thread Tina Li
There's no codes of google market. 2009/7/21 Moto medicalsou...@gmail.com I'm currently trying to download List content and display it just like the android market does... Were can I find the Android Market code? Or any pointers how to approach such task? Thanks! Moto!

[android-developers] Re: How does Android Market fill in a list?

2009-07-20 Thread Moto
Ok so I remove that option... Any suggestions to achieve similar idea? Filling a list as it downloads? --~--~-~--~~~---~--~~ 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] Re: How does Android Market fill in a list?

2009-07-20 Thread John Smith
2009/7/21 Moto medicalsou...@gmail.com Ok so I remove that option... Any suggestions to achieve similar idea? Filling a list as it downloads? You need to create a background thread that downloads the list, and as it gets a block of information, say 1280 bytes it should then signal the UI