Android spinner inside a custom control - OnItemSelectedListener does not trigger
- by Idan
I am writing a custom control that extends LinearLayout. Inside that control I am using a spinner to let the user select an item from a list.
The problem I have is that the OnItemSelectedListener event does not fire. When moving the same code to an Activity/Fragment all is working just fine.
I have followed some answers that was given to others…