Support more customization for the dialogs
Aditya94A opened this issue · 1 comments
Aditya94A commented
Just going to think out loud in here.
Okay, so the material dialogs library offers a great deal of customization. Ideally, I'd like the morphing animation to work well with all of it.
Duplicating the API is hardly a good solution, might work as a quick hack right now, but in the long run a better architected solution should obviously be preferred.
- Can we somehow just transmit the MaterialDialog root view from the calling activity into the MorphDialogActivity? Well, won't that be nice. But I think not possible without leaks, I'll look into this first.
- But I think my best bet is to somehow save the "state" of the MaterialDialog.Builder to be reconstructed in the MorphDialogActivity. Perhaps by extending and implementing Parcelable? Or something like that...
Aditya94A commented
P.S: Let me know if you'd like this library to have more functionality and customization. If there's demand, I'll get to work 😄