liquidswipe / com.jem.liquidswipe / LiquidSwipeViewPager
LiquidSwipeViewPager
class LiquidSwipeViewPager : ViewPager
LiquidSwipeViewPager is a custom ViewPager that uses a fixed scroller and uses a LiquidSwipePageTransformer as it’s page transformer.
Note: Setting another page transformer to LiquidSwipeViewPager would remove the LiquidSwipePageTransformer.
Types
| Name | Summary |
|---|---|
| LiquidSwipePageTransformer | class LiquidSwipePageTransformer : PageTransformerLiquidSwipePageTransformer is a custom ViewPager.PageTransformer that is used for LiquidSwipe reveal. |
Constructors
| Name | Summary |
|---|---|
| <init> | LiquidSwipeViewPager(context: Context)LiquidSwipeViewPager(context: Context, attrs: AttributeSet?) |
Functions
| Name | Summary |
|---|---|
| setDuration | fun setDuration(duration: Int): UnitSets the fixed scroller duration for the LiquidSwipeViewPager. |