flavienlaurent/datetimepicker

Callback lost on rotation

JRWilding opened this issue · 0 comments

Hi, the callbacks mechanism is flawed as it does not take into account the Fragment being recreated due to a configuration change (e.g. rotation).

It would be better to enforce the Activity or parent Fragment to implement the callback interface and send back the tag of the Fragment rather than (or as well as) the View itself.