KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm overriding CursorAdapter and I need to get the last item, problem is that CursorAdapter has actually a get() method...but source is a db and it returns a plain object!! (I don't even know what is it, I'd expect it returning a Cursor object instead...) Neverthless, how can I make it return an instance of my Wrapper db row class? Example: say my db has rows like these: id|first name| surname I'd make a class Person from that. Now I'd like to have a Person get(int i) method from cursor adapter...
Tags (comma-separated)
Save Edits
Cancel