mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-26 12:08:45 +00:00
small refactor in expand/collapse
This commit is contained in:
parent
830b7aee56
commit
67c595b440
@ -14,7 +14,7 @@ private fun View.performExpand(
|
|||||||
) {
|
) {
|
||||||
measure(targetWidth, targetHeight)
|
measure(targetWidth, targetHeight)
|
||||||
onMeasured()
|
onMeasured()
|
||||||
visibility = View.VISIBLE
|
show()
|
||||||
val a: Animation = object : Animation() {
|
val a: Animation = object : Animation() {
|
||||||
override fun applyTransformation(interpolatedTime: Float, t: Transformation?) {
|
override fun applyTransformation(interpolatedTime: Float, t: Transformation?) {
|
||||||
super.applyTransformation(interpolatedTime, t)
|
super.applyTransformation(interpolatedTime, t)
|
||||||
|
Loading…
Reference in New Issue
Block a user