diff options
Diffstat (limited to 'adapter')
-rw-r--r-- | adapter/src/main/kotlin/ca/allanwang/kau/animators/NoAnimator.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/src/main/kotlin/ca/allanwang/kau/animators/NoAnimator.kt b/adapter/src/main/kotlin/ca/allanwang/kau/animators/NoAnimator.kt index cca8a25..52b6123 100644 --- a/adapter/src/main/kotlin/ca/allanwang/kau/animators/NoAnimator.kt +++ b/adapter/src/main/kotlin/ca/allanwang/kau/animators/NoAnimator.kt @@ -42,7 +42,7 @@ class NoAnimatorRemove(override var itemDelayFactor: Float = 0f) : KauAnimatorRe override fun getDelay(remove: Long, move: Long, change: Long): Long = 0L } -class NoAnimatorChange : KauAnimatorChange { +object NoAnimatorChange : KauAnimatorChange { override fun changeOldAnimation( holder: RecyclerView.ViewHolder, |