Example usage for android.app ListActivity setListAdapter

List of usage examples for android.app ListActivity setListAdapter

Introduction

In this page you can find the example usage for android.app ListActivity setListAdapter.

Prototype

public void setListAdapter(ListAdapter adapter) 

Source Link

Document

Provide the cursor for the list view.

Usage

From source file:org.solovyev.android.list.ListItemAdapter.java

public static <LI extends ListItem> void attach(@Nonnull ListActivity listActivity,
        @Nonnull ListItemAdapter<? extends LI> adapter) {
    listActivity.setListAdapter(adapter);

    fillListView(listActivity.getListView(), adapter, listActivity);
}