MaterialPopupMenu Versions Save

Shows Material popup menus grouped in sections & more

4.1.0

3 years ago

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

4.0.1

4 years ago

Fixed

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

4.0.0

4 years ago

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

3.4.0

5 years ago

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

3.3.0

5 years ago

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

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

3.2.0

5 years ago
  • 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

3.1.0

5 years ago

Added

  • A listener to get notified when popup menus get dismissed

3.0.0

5 years ago

Changed

2.2.0

5 years ago

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

2.1.0

6 years ago

Added

  • A way to dismiss popup menus programmatically