0

How do you set OnClicklisteners on child views inside custom ConstraintLayout listItemViews of a ListView

How do you set OnClicklisteners on child views inside custom ConstraintLayout listItemViews of a ListView? I tried using getView on the ListView, then getchild on that view to get the views to assign listeners to, and it works with no errors, but they're not working when I click stuff. And I've tried the exact same listener with the view outside the list view and it works as it's supposed to, so I'm guessing it has to do with it being inside the listview, possibly because I'm using custom layouts for the lists views, I don't know. Does anybody have any advice?

12th Oct 2021, 5:30 PM
Michael Coster
Michael Coster - avatar
1 Antwort
0
You would be easily getting the python code repps
19th Oct 2021, 2:08 PM
Ravikiran
Ravikiran - avatar