Android Cursor over Generic list of business objects?

前端 未结 2 571
攒了一身酷
攒了一身酷 2021-01-21 00:37

In .NET land I would normally query the database and populate a generic List kind of collection. Then the app would use this.

In Android land I have been reading about D

2条回答
  •  余生分开走
    2021-01-21 00:46

    You can use the cursor for your adapter. Android is driven by listadatpers such as SimpleCursorAdapter. Using constant is a pro for design technique.

提交回复
热议问题