Skip to content

Material Dialog v2.2.2

Compare
Choose a tag to compare
@PatilShreyas PatilShreyas released this 25 Apr 06:12
· 13 commits to master since this release
1d907bd

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 馃殌.