New
v4.0.0
Changed
- Breaking change: minimum SDK version raised to API 19 (Kitkat)
- Breaking change: replaced
mpm_paddingLeftwithmpm_paddingStartandmpm_paddingRightwithmpm_paddingEndand other inter layout attributes accordingly for better RTL support - Breaking change: updated
MaterialPopupMenuBuilder.SectionHolder.labelandMaterialPopupMenuBuilder.ItemHolder.labelto be of typeCharSequencerather thanStringto allow the use ofSpannables. - Moved
super.bindItemcall to the end ofItemViewHolder#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