Open therealjohn opened 8 years ago
Looking at this more, it seems it will file here.
Overriding in a DialogViewController won't work, but you do have access to the AccessoryTapped event for each Element which does get fired.
It might be better to change this to call Container.AccessoryButtonTapped(tableView, indexPath);
instead. This would let the user override the AccessoryButtonTapped
method in a DialogViewController
subclass and have access to the index of the element that was tapped.
Right now it's assumed it's always a StyledStringElement
and there is info for index in the event.
See https://bugzilla.xamarin.com/show_bug.cgi?id=15329