Material dialog :heart: morphing animation. An android kotlin UI library for building beautiful animations for converting a floating action button into a material dialog.
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...
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.