开发者

How do you do simple CRUD in Android?

All the examples that I have read have only went over how to create one Activity based apps that allow for listing items and none of 开发者_运维问答them have talked about how to drill down into a selected list item to perform various CRUD operations.

So my question is what is the best practice for this? Is it to set an id value in the intent (I haven't seen any examples do this) or should a ContentProvider be created and used?

If anyone knows of any good tutorials that would answer this question please let me know.


It sounds like you missed the Notepad tutorial which talks about creating, editing, and deleting items stored in SQLite.


just here found a great didactic site with source and examples:

http://www.keikis.org/academy/android-index/androd-base-final-projec‌​t

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜