small refactor in expand/collapse

This commit is contained in:
InsanusMokrassar 2020-12-15 13:26:34 +06:00
parent 830b7aee56
commit 67c595b440

View File

@ -14,7 +14,7 @@ private fun View.performExpand(
) {
measure(targetWidth, targetHeight)
onMeasured()
visibility = View.VISIBLE
show()
val a: Animation = object : Animation() {
override fun applyTransformation(interpolatedTime: Float, t: Transformation?) {
super.applyTransformation(interpolatedTime, t)