Skip to content

Commit

Permalink
Merge pull request #1 from THEAccess/THEAccess-patch-1
Browse files Browse the repository at this point in the history
Update SkeletonLayout.kt: Enable subclassing
  • Loading branch information
THEAccess authored Jul 16, 2020
2 parents 83732c2 + 91d72be commit f0b5785
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import androidx.core.content.ContextCompat
import com.faltenreich.skeletonlayout.mask.SkeletonMask
import com.faltenreich.skeletonlayout.mask.SkeletonMaskFactory

class SkeletonLayout @JvmOverloads constructor(
open class SkeletonLayout @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
defStyleAttr: Int = 0,
Expand Down Expand Up @@ -176,4 +176,4 @@ class SkeletonLayout @JvmOverloads constructor(
val DEFAULT_SHIMMER_COLOR = R.color.skeleton_shimmer
const val DEFAULT_SHIMMER_DURATION_IN_MILLIS = 2000L
}
}
}

0 comments on commit f0b5785

Please sign in to comment.