https://developer.android.com/develop/ui/views/animations/prop-animation#choreography
AnimatorSet().apply {
val fadeOut = ObjectAnimator.ofFloat(view, "alpha", 1f, 0f).apply {
duration = 300
}
val fadeInt = ObjectAnimator.ofFloat(view, "alpha", 0f, 1f).apply {
duration = 300
}
playSequentially(fadeOut, fadeInt)
startDelay = 2000
start()
doOnEnd {
it.start()
}
}
'๊ณณ๊ฐ์์ ์ธ์ฌ๋๋ค' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Java] Thread-Safeํ Singleton ๊ฐ์ฒด (0) | 2024.10.01 |
---|---|
[์ฝ๊ธฐ][Android] Could Google Be Forced to Abandon Android? (0) | 2024.09.17 |
[Android] Swipe ์ ์ค์ณ ๊ฐ์ง CustomView (0) | 2023.07.20 |
[Kotlin] ํ๋ ฌ์ ๊ณฑ (0) | 2023.07.17 |