diff --git a/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealConstraintLayout.kt b/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealConstraintLayout.kt index e118a6e..11843a1 100644 --- a/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealConstraintLayout.kt +++ b/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealConstraintLayout.kt @@ -14,7 +14,7 @@ import com.jem.easyreveal.clippathproviders.* /** * `EasyRevealinearLayout` is a custom [ConstraintLayout] that implements [RevealLayout]. */ -class EasyRevealConstraintLayout : ConstraintLayout, RevealLayout { +open class EasyRevealConstraintLayout : ConstraintLayout, RevealLayout { // Store path in local variable rather then getting it from ClipPathProvider each time private var path: Path? = null // RevealAnimator is used to perform reveal/hide animation diff --git a/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealFrameLayout.kt b/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealFrameLayout.kt index 9fb0a15..d002e9b 100644 --- a/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealFrameLayout.kt +++ b/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealFrameLayout.kt @@ -16,7 +16,7 @@ import com.jem.easyreveal.clippathproviders.* /** * `EasyRevealinearLayout` is a custom [FrameLayout] that implements [RevealLayout]. */ -class EasyRevealFrameLayout : FrameLayout, RevealLayout { +open class EasyRevealFrameLayout : FrameLayout, RevealLayout { // Store path in local variable rather then getting it from ClipPathProvider each time private var path: Path? = null // RevealAnimator is used to perform reveal/hide animation diff --git a/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealLinearLayout.kt b/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealLinearLayout.kt index 5114576..51bcd34 100644 --- a/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealLinearLayout.kt +++ b/easyreveal/src/main/java/com/jem/easyreveal/layouts/EasyRevealLinearLayout.kt @@ -16,7 +16,7 @@ import com.jem.easyreveal.clippathproviders.* /** * `EasyRevealinearLayout` is a custom [LinearLayout] that implements [RevealLayout]. */ -class EasyRevealLinearLayout : LinearLayout, RevealLayout { +open class EasyRevealLinearLayout : LinearLayout, RevealLayout { // Store path in local variable rather then getting it from ClipPathProvider each time private var path: Path? = null // RevealAnimator is used to perform reveal/hide animation