Use JvmOverloads.

This commit is contained in:
Isira Seneviratne 2022-05-13 07:46:02 +05:30
parent 212a413e93
commit ce8289e753
1 changed files with 1 additions and 8 deletions

View File

@ -300,14 +300,7 @@ private fun View.animateLightSlideAndAlpha(enterOrExit: Boolean, duration: Long,
}
}
fun View.slideUp(
duration: Long,
delay: Long,
@FloatRange(from = 0.0, to = 1.0) translationPercent: Float
) {
slideUp(duration, delay, translationPercent, null)
}
@JvmOverloads
fun View.slideUp(
duration: Long,
delay: Long = 0L,