@@ -113,15 +113,15 @@ object AnimationUtil {
113
113
ObjectAnimator .ofFloat(constraintLayout, " translationY" , 0f ).apply {
114
114
start()
115
115
addListener(object : AnimatorListenerAdapter () {
116
- override fun onAnimationEnd (animation : Animator ? ) {
116
+ override fun onAnimationEnd (animation : Animator ) {
117
117
super .onAnimationEnd(animation)
118
118
ObjectAnimator .ofFloat(textviewTwo, View .ALPHA , 0f , 1f ).apply {
119
119
duration = EDIT_TEXT_FOCUS_TRANSLATION
120
120
start()
121
121
}
122
122
ObjectAnimator .ofFloat(textviewOne, View .ALPHA , 0f , 1f ).apply {
123
123
addListener(object : AnimatorListenerAdapter () {
124
- override fun onAnimationStart (animation : Animator ? ) {
124
+ override fun onAnimationStart (animation : Animator ) {
125
125
super .onAnimationStart(animation)
126
126
textviewOne.visibility = View .VISIBLE
127
127
textviewTwo.visibility = View .VISIBLE
@@ -152,12 +152,12 @@ object AnimationUtil {
152
152
}
153
153
ObjectAnimator .ofFloat(textviewOne, View .ALPHA , 1f , 0f ).apply {
154
154
addListener(object : AnimatorListenerAdapter () {
155
- override fun onAnimationEnd (animation : Animator ? ) {
155
+ override fun onAnimationEnd (animation : Animator ) {
156
156
super .onAnimationEnd(animation)
157
157
ObjectAnimator .ofFloat(constraintLayout, " translationY" , - 220f ).apply {
158
158
start()
159
159
addListener(object : AnimatorListenerAdapter () {
160
- override fun onAnimationEnd (animation : Animator ? ) {
160
+ override fun onAnimationEnd (animation : Animator ) {
161
161
super .onAnimationEnd(animation)
162
162
textviewOne.visibility = View .GONE
163
163
textviewTwo.visibility = View .GONE
0 commit comments