A custom loader to load objects from SQLite database in Android