Skip to content

Commit

Permalink
optimization, design/animation improvements part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
queuejw committed Aug 7, 2024
1 parent 5738940 commit 3518c55
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,6 @@ class NewAllApps: Fragment() {
val itemView = recyclerView.findViewHolderForAdapterPosition(i)?.itemView
if (itemView != null) {
ObjectAnimator.ofFloat(itemView, "alpha", 0.5f, 1f).setDuration(500).start()
ObjectAnimator.ofFloat(itemView, "scaleX", 0.9f, 1f).setDuration(500).start()
ObjectAnimator.ofFloat(itemView, "scaleY", 0.9f, 1f).setDuration(500).start()
}
}
} else {
Expand All @@ -619,8 +617,6 @@ class NewAllApps: Fragment() {
val itemView = recyclerView.findViewHolderForAdapterPosition(i)?.itemView
if (itemView != null) {
ObjectAnimator.ofFloat(itemView, "alpha", 1f, 0.5f).setDuration(500).start()
ObjectAnimator.ofFloat(itemView, "scaleX", 1f, 0.9f).setDuration(500).start()
ObjectAnimator.ofFloat(itemView, "scaleY", 1f, 0.9f).setDuration(500).start()
}
}
}
Expand Down

0 comments on commit 3518c55

Please sign in to comment.