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

2009-07-21 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
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 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 new data to it as it d

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

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

2009-07-20 Thread sheik
i am looking for the similar solution ... if u can refer this link and reply on it .. i really appreciate.. i have explained the procedure i have followed to get the list .. but problem exists when i need to display them by using setAdapter()... can u pls take a look... http://groups.google.c

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

2009-07-20 Thread John Smith
2009/7/21 Moto > > 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 thread to add new row

[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 Tina Li
There's no codes of google market. 2009/7/21 Moto > > 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! > > > --~--~-~--~~