I'm able to get this library working properly, and it's awesome.
However, had a question regarding ListView's.
Right now i'm doing this:
@OnItemClick(R.id.listView)
public void onItemClick(int position) {
}
Is it possible for the function to take pass in the ListView as well? I want to be able to consolidate the onItemClick into one function in case there is more than one ListView in the view.
I figured it out. No need, I'll answer what I found:
public void onItemClick(AdapterView<?> parent, int position) {
}
Yep. You should also just be able use a ListView as an argument as well. It will do the cast.
Most helpful comment
I figured it out. No need, I'll answer what I found: