Multiple Listviews using same Adapter class and same CallBack Interface to
Activity
I have two custom ListViews each with their own adapter, but of the same
class. So each has the same CallBack Interface to the activity.
I am struggling with how the Activity can distinguish which ListView is
running the CallBack. A listener sends the selected value back to the
Activity. However, each ListView has similar select-able values (i.e.
1,2,3,4). So the selected value alone isn't enough to distinguish between
which ListView the selection originated.
No comments:
Post a Comment