🌀 A lightweight dropdown popup spinner, fully customizable with an arrow and animations for Android.
APACHE-2.0 License
Bot releases are hidden (Show)
Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.6...1.2.7
Published by skydoves over 1 year ago
Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.5...1.2.6
Published by skydoves over 1 year ago
Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.4...1.2.5
Published by skydoves about 2 years ago
Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.3...1.2.4
Published by skydoves over 2 years ago
Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.2...1.2.3
Published by skydoves over 2 years ago
🎉 A new version 1.2.2 was released! 🎉
Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.1...1.2.2
Published by skydoves over 2 years ago
🎉 A new version 1.2.1
was released! 🎉
spinner_popup_max_height
attribute and property by @wxw-9527 in https://github.com/skydoves/PowerSpinner/pull/102
setSpinnerPopupMaxHeight
method in builder and mark as public the property by @skydoves in https://github.com/skydoves/PowerSpinner/pull/104
Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.2.0...1.2.1
Published by skydoves over 2 years ago
🎉 A new version 1.2.0
has been released! 🎉
Full Changelog: https://github.com/skydoves/PowerSpinner/compare/1.1.9...1.2.0
Published by skydoves about 3 years ago
🎉 Released a new version 1.1.9
! 🎉
SpinnerSizeSpec
for determining sizes of the arrow. (#72, #77)Published by skydoves over 3 years ago
🎉 Released a new version 1.1.8
! 🎉
spinner_popup_focusable
attribute.lifecycleOwner
internally.indexOutOfBoundException
when set a new item list (#70).Published by skydoves almost 4 years ago
🎉 Released a new version 1.1.7
! 🎉
lifecycleOwner
will be set automatically while initialization for preventing memory leaks.Published by skydoves almost 4 years ago
🎉 Released a new version 1.1.6
! 🎉
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,
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!");
}
});
preference
dependency to preference-ktx
dependency internally. (3ebc58f)DefaultSpinnerAdapter
and IconSpinnerAdapter
internally.1.4.20
and Gradle/Wrapper versions.Published by skydoves about 4 years ago
🎉 Released a new version 1.1.5
! 🎉
getSpinnerViewBody
functionalitiy. (#41, #32)setItems
with different item sizes. (#32)preference
dependency to preference-ktx
internally.Published by skydoves about 4 years ago
🎉 Released a new version 1.1.4
! 🎉
updateSpinnerWindowSize
. (#40)xOff
and yOff
attributes to show()
and showOrDismiss()
functions. (#39)Published by skydoves about 4 years ago
🎉 Released a new version 1.1.3
! 🎉
OnSpinnerDismissListener
interface and setOnSpinnerDismissListener
function for listening dismissed spinner popup.setIsFocusable
function. Sets isFocusable
of the spinner popup. The spinner popup will got a focus and [onSpinnerDismissListener] will be replaced.disableChangeTextWhenNotified
field and setDisableChangeTextWhenNotified(Boolean)
function. If the value is true, disables changing text automatically when an item selection notified.Published by skydoves about 4 years ago
🎉 Released a new version 1.1.2
! 🎉
JvmSynthetic
for supporting Java APIs without adding a kotlin dependency.Published by skydoves about 4 years ago
🎉 Released a new version 1.1.1
! 🎉
arrowPadding
property's default value to 0
.Published by skydoves about 4 years ago
🎉 Released a new version 1.1.0
! 🎉
SpannableStringBuilder
.Published by skydoves over 4 years ago
🎉 Released a new version 1.0.9
! 🎉
1.0.7
(#20)Published by skydoves over 4 years ago
Released a new version 1.0.8
.
Fixed some issues
Added a new attribute spinner_debounce_duration
.
(A duration of the debounce for showing or dismissing)