androidribbon / com.skydoves.androidribbon

Package com.skydoves.androidribbon

Types

RibbonInterface

interface RibbonInterface

RibbonInterface is an interface for implementation of Ribbon views.

RibbonLayout

class RibbonLayout : FrameLayout, RibbonInterface

RibbonLayout has header and bottom align ribbons. They will overlap on the top with other complex child views.

RibbonRecyclerAdapter

class RibbonRecyclerAdapter : BaseAdapter, IRibbonList

RibbonRecyclerAdapter is an implementation of BaseAdapter that has RibbonView as items.

RibbonRecyclerView

class RibbonRecyclerView : RecyclerView, IRibbonList

RibbonRecyclerView helps to create RecyclerView that has RibbonView as items.

RibbonRecyclerViewHolder

class RibbonRecyclerViewHolder : BaseViewHolder

RibbonRecyclerAdapter is an implementation of BaseViewHolder that has RibbonView as data.

RibbonTagItemDecoration

class RibbonTagItemDecoration : ItemDecoration

RibbonTagItemDecoration creates the space of RecyclerView by orientation align.

RibbonView

class RibbonView : AppCompatTextView, RibbonInterface

RibbonView is advanced of AppCompatTextView for implement ribbon.

ShimmerRibbonView

class ShimmerRibbonView : ShimmerFrameLayout, RibbonInterface

ShimmerRibbonView implements RibbonView on ShimmerFrameLayout for shimmering effect.

Extensions for External Classes

android.view.View

Functions

alphaShimmer

fun alphaShimmer(block: AlphaHighlightBuilder.() -> Unit): Shimmer

create a Shimmer by Shimmer.AlphaHighlightBuilder using dsl.

colorShimmer

fun colorShimmer(block: ColorHighlightBuilder.() -> Unit): Shimmer

create a Shimmer by Shimmer.ColorHighlightBuilder using dsl.

ribbonView

fun ribbonView(context: Context, block: Builder.() -> Unit): RibbonView

create a RibbonView by RibbonView.Builder using dsl.

shimmerRibbonView

fun shimmerRibbonView(context: Context, block: Builder.() -> Unit): ShimmerRibbonView

create a shimmerRibbonView by ShimmerRibbonView.Builder using dsl.