android - Loader for SQLite database, no ContentProvider -


is not possible use interface loadermanager.loadercallbacks without use contentprovider? (in easy way..)

thank you

there number of well-received solutions here on so (you may want review answers , references ease of use). there interesting article walk through approach seems directly related request - android custom loader load data directly sqlite database. interesting footnote found on this sample indicates:

1 don't need worry registering listener loader unless plan on using without loadermanager. loadermanager act "listener" , forward results loader delivers loadercallbacks#onloadfinished method. ↩

however, suggest try merging database calls found in sample within existing master detail activity automatically created android studio. default dummycontent can replaced custom class representing actual content in database. @ point using proper activity , list fragment frameworks manage sqlite database calls.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -