Open alexodus opened 8 years ago
Hello @alexodus The is problably an error in design of all component, but now it's our legacy :/
I think your CustomView is added a some point in a fragement or an activity. So your activity or fragment can implement NumberPickerDialogFragment.NumberPickerDialogHandlerV2
then passing this result to your customView.
In my app I moved the view logic from activity to a custom viewgroup (that inherited from CoordinatorLayout). I have:
The problem inside your code is that: only activity and fragment are permitted. Why?
I suppose, IMHO, that this is a bad design of this component