Releases: zawadz88/MaterialPopupMenu
Releases · zawadz88/MaterialPopupMenu
v4.1.0
v4.0.1
v4.0.0
Changed
- Breaking change: minimum SDK version raised to API 19 (Kitkat)
- Breaking change: replaced
mpm_paddingLeft
withmpm_paddingStart
andmpm_paddingRight
withmpm_paddingEnd
and other inter layout attributes accordingly for better RTL support - Breaking change: updated
MaterialPopupMenuBuilder.SectionHolder.label
andMaterialPopupMenuBuilder.ItemHolder.label
to be of typeCharSequence
rather thanString
to allow the use ofSpannables
. - Moved
super.bindItem
call to the end ofItemViewHolder#bindItem
method 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
v3.4.0
Added
- An option to display an icon at the end of each item which indicates a nested submenu (#26).
viewBoundCallback
added to default items as well- Allow customizing default popup style via theme attribute (#53, thanks to @Tunous)
- Make it possible to dismiss popup from
viewBoundCallback
(#57, thanks to @Tunous)
Fixed
v3.3.0
Added
- An option to keep popup open after clicking on item (#45, thanks to @Tunous)
- Allow setting item label via string resource (#42, thanks to @Tunous)
- A flag to dim background behind popup (#43, thanks to @Tunous)
- A way to customize popup padding (#44, thanks to @Tunous)
Changed
- new project & sample app logos (#48, thanks to @ghostofiht)
Fixed
v3.2.0
v3.1.0
v3.0.0
Changed
- Migrated to AndroidX package structure (https://developer.android.com/topic/libraries/support-library/androidx-overview)
- Updated Kotlin to 1.2.71