What is the common way to add a first default item to the listview, which takes it’s data from a CursorAdapter? I would like to have a listview with items where the first entry is something like “Add item”.
Making a custom adapter won’t help because it would mess up the cursor item count.
What is the common way to add a first default item to the listview,
Share
In your situations the best solution is using the method addHeaderView.
Why do u want taking data from cursorAdapter for the first item? Just set a TextView as a header view.