Merge pull request #8391 from Isira-Seneviratne/Use_JvmOverloads

Use JvmOverloads.
This commit is contained in:
Stypox 2022-05-22 21:56:17 +02:00 committed by GitHub
commit adddd48c1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,