easyreveal / com.jem.easyreveal / RevealLayout
RevealLayout
interface RevealLayout
RevealLayout is the base interface for all the other EasyRevealLayouts
Types
| Name | Summary |
|---|---|
| OnUpdateListener | interface OnUpdateListenerInterface definition for a callback to be invoked when current reveal percentage value is changed. |
Properties
| Name | Summary |
|---|---|
| clipPathProvider | abstract var clipPathProvider: ClipPathProviderClipPathProvider provides the path used for clipping. |
| currentRevealPercent | abstract var currentRevealPercent: FloatPercentage of the view currently revealed. |
| hideAnimationDuration | abstract var hideAnimationDuration: LongTotal duration of the hide animation. |
| onUpdateListener | abstract var onUpdateListener: RevealLayout.OnUpdateListener?Listener to get percent value updates when animating. |
| revealAnimationDuration | abstract var revealAnimationDuration: LongTotal duration of the reveal animation. |
Functions
| Name | Summary |
|---|---|
| hide | abstract fun hide(): UnitUsed to perform hide animation. |
| reveal | abstract fun reveal(): UnitUsed to perform reveal animation. |
| revealForPercentage | abstract fun revealForPercentage(percent: Float, shouldAnimate: Boolean): UnitReveal view to specified reveal percentage. |
Inheritors
| Name | Summary |
|---|---|
| EasyRevealConstraintLayout | class EasyRevealConstraintLayout : ConstraintLayout, RevealLayoutEasyRevealinearLayout is a custom ConstraintLayout that implements RevealLayout. |
| EasyRevealFrameLayout | class EasyRevealFrameLayout : FrameLayout, RevealLayoutEasyRevealinearLayout is a custom FrameLayout that implements RevealLayout. |
| EasyRevealLinearLayout | class EasyRevealLinearLayout : LinearLayout, RevealLayoutEasyRevealinearLayout is a custom LinearLayout that implements RevealLayout. |