[android-developers] Re: How to do ListView dynamic item growing?

2009-10-20 Thread wangxueming
Thanks @Guru OnScrollListner is a better choice. On 10月13日, 下午11时43分, Mark Murphy mmur...@commonsware.com wrote: wangxueming wrote: Now I want to make a ListView,with 20 items, Then when it scroll to the end, I get new data and add to the end of ListView dynamic. Just Like ListView

[android-developers] Re: How to do ListView dynamic item growing?

2009-10-13 Thread Guru
OnScrollListner there is an example in the API demos. On Tue, Oct 13, 2009 at 2:12 PM, wangxueming m.wongxm...@gmail.com wrote: Now I want to make a ListView,with 20 items, Then when it scroll to the end, I get new data and add to the end of ListView dynamic. Just Like ListView in Android

[android-developers] Re: How to do ListView dynamic item growing?

2009-10-13 Thread Mark Murphy
wangxueming wrote: Now I want to make a ListView,with 20 items, Then when it scroll to the end, I get new data and add to the end of ListView dynamic. Just Like ListView in Android Market. You can try my EndlessAdapter for that: http://github.com/commonsguy/cwac-endless -- Mark Murphy