Material Dialog v2.2.2
This is a patch release including improvements.
🔮 What's new?
[#49] Generic Message support: Support for separate plain text and Spanned text
Added support for plain text (i.e. String
) as well as Spanned
text for dialog's message.
Earlier, in v2.2.1
, there was only support for spanned formatted text for the message which was not generic. This fix now provides both the available configuration as per the need of the developer and the use case.
For example,
- To set plain text message for dialog:
.setMessage("Lorem Ipsum")
- To Spanned text message for dialog:
.setMessage(Html.fromText("<b>Lorem <i>Ipsum</i></b>"))
Many thanks 🙏 to @Awsom3D for suggesting this improvement and helping to make this library better 🚀.