Skip to content

Commit

Permalink
Make EasyRevealLayouts open for inheriting
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrisvin committed Nov 17, 2019
1 parent 7067804 commit bb4368a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb4368a

Please sign in to comment.