Closed rayliverified closed 8 years ago
I've just released the 2.0 update with some major changes (please see the release description).
There is a workaround using the latest version to play the icon animation every time the dialog is displayed:
MaterialStyledDialog.Builder dialog = new MaterialStyledDialog.Builder(this)
.setTitle("Awesome!")
.setDescription("What can we improve? Your feedback is always welcome.")
...
// Add other customizations, BUT don't use .build() or .show() here.
Then use dialog.show
to display the dialog.
In the first build of Material Styled Dialogs, the icon animation would play every time the dialogue appears. Now, the icon animation only plays the first time the dialogue appears.
EDIT: I've looked a bit further and the cause appears to be update v1.1.1 In that update, the dialogue is not rebuilt everytime show() is called which means the animation would not play again. Is there a way around this?