setListAdapter

582 ワード

public void setListAdapter (ListAdapter adapter) 

 Provide the cursor for the list view
リストビューにカーソルを与える役割を果たす(このような翻訳が正しいかどうか分からない).
ListAdapterはリストアダプタインタフェースであり、Adapterに継承する.
Extended Adapter that is the bridge between a ListView and the data that backs the list. Frequently that data comes from a Cursor, but that is not required. The ListView can display any data provided that it is wrapped in a ListAdapter.
Adapterを引き継ぐときはリストビューとデータとの橋渡しになる.通常、これらのデータはカーソルから来るが、必ずしも必要ではない.リストビューには、ListAdapterに含む任意のデータを表示することができる.