PowerSpinner

🌀 A lightweight dropdown popup spinner, fully customizable with an arrow and animations for Android.

APACHE-2.0 License

Stars
1.2K

Bot releases are hidden (Show)

PowerSpinner - 1.2.7 Latest Release

Published by skydoves over 1 year ago

What's Changed

Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.6...1.2.7

PowerSpinner - 1.2.6

Published by skydoves over 1 year ago

What's Changed

Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.5...1.2.6

PowerSpinner - 1.2.5

Published by skydoves over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.4...1.2.5

PowerSpinner - 1.2.4

Published by skydoves about 2 years ago

What's Changed

Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.3...1.2.4

PowerSpinner - 1.2.3

Published by skydoves over 2 years ago

What's Changed

Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.2...1.2.3

PowerSpinner - 1.2.2

Published by skydoves over 2 years ago

🎉 A new version 1.2.2 was released! 🎉

What's Changed

Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.1...1.2.2

PowerSpinner - 1.2.1

Published by skydoves over 2 years ago

🎉 A new version 1.2.1 was released! 🎉

What's Changed

Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.0...1.2.1

PowerSpinner - 1.2.0

Published by skydoves over 2 years ago

🎉 A new version 1.2.0 has been released! 🎉

What's Changed

New Contributors

Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.1.9...1.2.0

PowerSpinner - 1.1.9

Published by skydoves about 3 years ago

🎉 Released a new version 1.1.9! 🎉

What's New?

  • Fixed: App Crash on when using the spinner Android 6 and below at library 1.1.8 (#75)
  • Added: SpinnerSizeSpec for determining sizes of the arrow. (#72, #77)
PowerSpinner - 1.1.8

Published by skydoves over 3 years ago

🎉 Released a new version 1.1.8! 🎉

What's New?

  • Added: spinner_popup_focusable attribute.
  • Added: Check lifecycleOwner internally.
  • Fixed: indexOutOfBoundException when set a new item list (#70).
  • Refactored: internal adapters
PowerSpinner - 1.1.7

Published by skydoves almost 4 years ago

🎉 Released a new version 1.1.7! 🎉

What's New?

  • In Java IconSpinnerItem can be created just with 9 parameters (#48)
  • Now the lifecycleOwner will be set automatically while initialization for preventing memory leaks.
PowerSpinner - 1.1.6

Published by skydoves almost 4 years ago

🎉 Released a new version 1.1.6! 🎉

What's New?

  • Removed overScrollMode in the body layout. (0e147d1)
  • Added more options on IconSpinnerItem for customizing related to text color, typeface, icon.
  val text: CharSequence,
  val icon: Drawable? = null,
  @DrawableRes val iconRes: Int? = null,
  @Px val iconPadding: Int? = null,
  val iconGravity: Int = Gravity.START,
  val typeface: Int? = null,
  val gravity: Int? = null,
  val textSize: Float? = null,
  @ColorInt val textColor: Int? = null,
  • Changed OnSpinnerItemSelectedListener for notifying the previous selected item and its index.
setOnSpinnerItemSelectedListener<String> { oldIndex, oldItem, newIndex, newText ->
   toast("$text selected!")
}

Here is the Java way.

powerSpinnerView.setOnSpinnerItemSelectedListener(new OnSpinnerItemSelectedListener<String>() {
  @Override public void onItemSelected(int oldIndex, @Nullable String oldItem, int newIndex, String newItem) {
    toast(item + " selected!");
  }
});
  • Changed preference dependency to preference-ktx dependency internally. (3ebc58f)
  • Refactored DefaultSpinnerAdapter and IconSpinnerAdapter internally.
  • Updated Kotlin version to 1.4.20 and Gradle/Wrapper versions.
PowerSpinner - 1.1.5

Published by skydoves about 4 years ago

🎉 Released a new version 1.1.5! 🎉

What's New?

  • Added getSpinnerViewBody functionalitiy. (#41, #32)
  • Fixed popup height size does not change when using setItems with different item sizes. (#32)
  • Replaced preference dependency to preference-ktx internally.
PowerSpinner - 1.1.4

Published by skydoves about 4 years ago

🎉 Released a new version 1.1.4! 🎉

What's New?

  • Removed updateSpinnerWindowSize. (#40)
  • Added xOff and yOff attributes to show() and showOrDismiss() functions. (#39)
PowerSpinner - 1.1.3

Published by skydoves about 4 years ago

🎉 Released a new version 1.1.3! 🎉

What's New?

  • Added OnSpinnerDismissListener interface and setOnSpinnerDismissListener function for listening dismissed spinner popup.
  • Added setIsFocusable function. Sets isFocusable of the spinner popup. The spinner popup will got a focus and [onSpinnerDismissListener] will be replaced.
  • Added a Boolean type disableChangeTextWhenNotified field and setDisableChangeTextWhenNotified(Boolean) function. If the value is true, disables changing text automatically when an item selection notified.
PowerSpinner - 1.1.2

Published by skydoves about 4 years ago

🎉 Released a new version 1.1.2! 🎉

What's New?

  • Used JvmSynthetic for supporting Java APIs without adding a kotlin dependency.
  • Changed some public functionalities to internal.
  • Optimized properties and initializing attributes internally.
PowerSpinner - 1.1.1

Published by skydoves about 4 years ago

🎉 Released a new version 1.1.1! 🎉

What's New?

  • Updated compile SDK version to 30 internally.
  • Updated koltin version to 1.4.0 stable.
  • Intermittent failure to resize the dropdown view after calling spinner.setItems(choices); #32
  • Changed arrowPadding property's default value to 0.
PowerSpinner - 1.1.0

Published by skydoves about 4 years ago

🎉 Released a new version 1.1.0! 🎉

What's New?

  • Change type of the item list String to CharSequence for supporting SpannableStringBuilder.
  • Update spinner popup width/height size when showing (#24)
  • Arrow color is not changeable on Android 6 device (#31)
PowerSpinner - 1.0.9

Published by skydoves over 4 years ago

🎉 Released a new version 1.0.9! 🎉

What's new?

  • Fixed recycling bugs since version 1.0.7 (#20)
  • A scrollbar is visible if the popup height is smaller than the item list size. (#21)
PowerSpinner - 1.0.8

Published by skydoves over 4 years ago

Released a new version 1.0.8.

Fixed some issues

  • Debounce OnSpinnerOutsideTouchListener and onClickListener (#17)
  • The arrow toggle on empty list (#16)

Added a new attribute spinner_debounce_duration.
(A duration of the debounce for showing or dismissing)