Skip to main content

Vincent Tsao's Library tagged listview   View Popular, Search in Google

    • ListView and Adapter Basics

       

      How it works:

       
         
      1. ListView asks adapter “give me a view” (getView) for each item of the list
      2. A new View is returned and displayed
  • 2 more annotation(s)...
  • Android Tales » Blog Archive » HowTo: ListView, Adapter, getView and different list items’ layouts in one ListView
Jul
28
2010

  • These applications use an OnScrollListener to detect when the last 
    item is displayed. When this happens, they load more items and add 
    them to the list adapter.
Jul
27
2010

  • SizzlingSkizzorsProgrammer wrote:
    > After the listview is already initialized, is it possible to add items
    > to it during runtime?

    Just add the new items to the adapter, or the data source that backs up
    the adapter (if it's a CursorAdapter).

  • 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 Market. 

  • You can try my EndlessAdapter for that:

    http://github.com/commonsguy/cwac-endless

1 - 20 of 40 Next ›
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo
Move to top