In android, can we create a CursorAdapter from the data in an XML file? Here's the actual problem:
I need to create a ListView whose elements may differ. Each item has three fields: ItemName, ItemValue, ItemUnit. If the adapter is created from an external file (for example: XML file) provided in the application, the number of elements and its field value can be changed without changing the application code. What is the best way to achieve this?
nayan source share