I'm kinda new in android development and I am little confused about content providers
. Content providers
are used to share your data with other application legally, but is it correct to use it for retrieving your data from SQLite database
and display it in, for instance listView
? What is better solution for displaying data from db?
Thanks
Yes it is legit using the ContentProvider to retrieve data from a SQLite database while its perfectly fine creating an Handler to handle the SQLiteOpenHelper and just using it.
Its all depends on your app's needs, Me individually for my own app if no need for sharing data wouldn't use a content provider.