Skip to content

Releases: zawadz88/MaterialPopupMenu

v4.1.0

21 Nov 11:24
Compare
Choose a tag to compare

Fixed

  • Robolectric test failures (issue #73)

Changed

  • changed visibility of some internal classes i.e. MaterialRecyclerViewPopupWindow & SectionedRecyclerViewAdapter as they were not meant to be exposed anyway
  • target API version 28 -> 29

v4.0.1

08 Dec 10:28
Compare
Choose a tag to compare

Fixed

  • Popup couldn't be dismissed on Lollipop (issue #66)

v4.0.0

06 Jul 13:40
0b21ef7
Compare
Choose a tag to compare

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

v3.4.0

02 May 14:09
Compare
Choose a tag to compare

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

  • Disabled clipToPadding on menu RecyclerView (#54, thanks to @Tunous)
  • Take marg

v3.3.0

16 Apr 15:44
Compare
Choose a tag to compare

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

Fixed

  • Incorrect menu height in case of dynamic content (#49, reported by @Tunous)
  • Fix background clipping when using rounded corners (#47, thanks to @Tunous)

v3.2.0

29 Mar 10:24
ff9d5cd
Compare
Choose a tag to compare
  • Updated Kotlin to 1.3.21, AndroidX AppCompat to 1.0.2
  • Updated internal AGP to 3.3.2 & Gradle to 5.3.1
  • Added settings & testing kordamp plugins

v3.1.0

21 Dec 17:34
Compare
Choose a tag to compare

Added

  • A listener to get notified when popup menus get dismissed

v3.0.0

04 Nov 11:43
Compare
Choose a tag to compare

Changed

v2.2.0

27 Aug 18:24
Compare
Choose a tag to compare

Added

  • A way to set custom vertical offsets via android:dropDownVerticalOffset and by setting Gravity.BOTTOM

Changed

  • Updated Android Support Library to 27.1.1
  • Updated Kotlin to 1.2.61
  • Changed kotlin-stdlib-jre7 dependency to kotlin-stdlib-jdk7

v2.1.0

12 Apr 17:42
Compare
Choose a tag to compare

Added

  • A way to dismiss popup menus programmatically