RELEASE_NOTES.md 1.1 KB

3.0.0-alpha4

Minor API change: The message(...) function no longer provides html and lineSpacingMultiplier as parameters. Instead, it works like this:

MaterialDialog(this).show {
  ...
  message(R.string.htmlContent) {
      html() // or...
      html { toast("Clicked link: $it") }
      
      lineSpacing(1.4f)
      messageTextView.doSomething() // you can act directly on the TextView
  }
}

3.0.0-alpha3

  • The BottomSheet() dialog behavior now accepts an optional LayoutMode parameter, which you can use to instruct the bottom sheet to be expandable to the screen height or limit itself to wrap the content of its content. See the updated Bottom Sheets documentation.
  • Added a setPeekHeight(...) extension method for MaterialDialog that you can use to set the default peek height and animate peek height changes.

3.0.0-alpha2

  • You can now set corner radius dynamically with the cornerRadius method.
  • Some minor bug fixes and internal cleanup.

3.0.0-alpha1:

  • Bottom sheets are here! Checkout the README and sample project for details.