Which fields of the cursor to bind to which views in the template.Which layout template to inflate for an item.The CursorAdapter fits in between a Cursor (data source from SQLite query) and the ListView (visual representation) and configures two aspects: When we want the data for the list to be sourced directly from a SQLite database query, we can use a CursorAdapter. In Android development, any time you want to show a vertical list of items you will want to use a ListView which is populated using an Adapter to a data source.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |