powerspinner / com.skydoves.powerspinner

Package com.skydoves.powerspinner

Types

DefaultSpinnerAdapter

DefaultSpinnerAdapter is a default adapter composed of string items.

class DefaultSpinnerAdapter : Adapter<DefaultSpinnerViewHolder>, PowerSpinnerInterface<CharSequence>

IconSpinnerAdapter

IconSpinnerAdapter is a custom adapter composed of IconSpinnerItem items.

class IconSpinnerAdapter : Adapter<IconSpinnerViewHolder>, PowerSpinnerInterface<IconSpinnerItem>

IconSpinnerItem

IconSpinnerItem is an item class for constructing IconSpinnerAdapter.

data class IconSpinnerItem

OnSpinnerItemSelectedListener

interface OnSpinnerItemSelectedListener<T>

OnSpinnerOutsideTouchListener

interface OnSpinnerOutsideTouchListener

PowerSpinnerInterface

interface PowerSpinnerInterface<T>

PowerSpinnerPreference

class PowerSpinnerPreference : Preference

PowerSpinnerView

A lightweight dropdown spinner, fully customizable with arrow and animations.

class PowerSpinnerView : AppCompatTextView, LifecycleObserver

SpinnerAnimation

SpinnerAnimation is an animation attribute of the showing the spinner popup.

enum class SpinnerAnimation

SpinnerGravity

SpinnerGravity is a gravity attribute for positioning the arrow on the PowerSpinnerView.

enum class SpinnerGravity

Functions

<no name provided>

Interface definition for a callback to be invoked when selected item on the spinner popup.

fun <no name provided>(): Unit

createPowerSpinnerView

creates an instance of PowerSpinnerView by PowerSpinnerView.Builder using kotlin dsl.

fun createPowerSpinnerView(context: Context, builder: Builder.() -> Unit): PowerSpinnerView