Android: List view that loads data dynamically based on scroll position
问题 I need to create the list view that loads data dynamically based on scroll position. Like in Facebook when user scrolls to the end it dynamically adds more rows. Is there standard solution it? 回答1: TRY this :: public class Test extends ListActivity implements OnScrollListener { Aleph0 adapter = new Aleph0(); protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setListAdapter(adapter); getListView().setOnScrollListener(this); } public void onScroll