Android’s onClickListener by default provides the View that you clicked on. I created my own interface because I wanted to have access to the CardObject that was used to populate that particular item.
Hence its definition being
public void onCardTapped(CardObject cardObject);
so that when its implemented I could do something like
Thanks for the suggestion. Hope this helped