I'm new to Android programming. I'm trying to return a list of Products stored in an adapter accessed by a listview in my application. How do I do this? I've tried
which does return the correct name using the toString() method, but not the actual Product object.
I can't seem to find any other threads pertaining to this question, though I may not be correctly wording the situation. Please help!
Code:
listview.getAdapter()
which does return the correct name using the toString() method, but not the actual Product object.
I can't seem to find any other threads pertaining to this question, though I may not be correctly wording the situation. Please help!