Skip to content

v4.0.0

Compare
Choose a tag to compare
@zawadz88 zawadz88 released this 06 Jul 13:40
· 19 commits to master since this release
0b21ef7

Changed

  • Breaking change: minimum SDK version raised to API 19 (Kitkat)
  • Breaking change: replaced mpm_paddingLeft with mpm_paddingStart and mpm_paddingRight with mpm_paddingEnd and other inter layout attributes accordingly for better RTL support
  • Breaking change: updated MaterialPopupMenuBuilder.SectionHolder.label and MaterialPopupMenuBuilder.ItemHolder.label to be of type CharSequence rather than String to allow the use of Spannables.
  • Moved super.bindItem call to the end of ItemViewHolder#bindItemmethod so that it's possible to override values set by it in callbacks.

Added

  • an option to override the defaults and set menu width & dropdown offsets programmatically via MaterialPopupMenuBuilder