I have a ListView
, the first 5 elements of which is to be populated by elements retrieved from an array defined in the strings.xml. These are static and will never change. The rest of the elements will be populated from the SQLite DB. These are dynamic and the user can remove from and add to these.
Is there a way I can implement a custom adapter where I can use a combination of ArrayAdapter
and SimpleCursorAdapter
.
I tried searching online for such a combination, but could not find anything that could help. Any help is appreciated.