diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-23 23:26:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-23 23:26:34 -0700 |
commit | 50ad7f0ae89fc52ce57fe03328f4221fb57f2eac (patch) | |
tree | 69ead8807bb7371428953a0363519343f03f9b5b /adapter/src/main/kotlin/ca | |
parent | 4706b8f6a8d08a6961da6ab34d15881b63356d79 (diff) | |
download | kau-50ad7f0ae89fc52ce57fe03328f4221fb57f2eac.tar.gz kau-50ad7f0ae89fc52ce57fe03328f4221fb57f2eac.tar.bz2 kau-50ad7f0ae89fc52ce57fe03328f4221fb57f2eac.zip |
Fully implement imagepicker and create play store showcase (#12)3.1.1
* Update changelog
* Add uri to imagemodel
* Revamp image pickers
* Prepare play store showcase
* Add encrypted files
* Test showcase
* Clean elastic recycler activity
Diffstat (limited to 'adapter/src/main/kotlin/ca')
-rw-r--r-- | adapter/src/main/kotlin/ca/allanwang/kau/animators/KauAnimator.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adapter/src/main/kotlin/ca/allanwang/kau/animators/KauAnimator.kt b/adapter/src/main/kotlin/ca/allanwang/kau/animators/KauAnimator.kt index 5b36551..9e52aac 100644 --- a/adapter/src/main/kotlin/ca/allanwang/kau/animators/KauAnimator.kt +++ b/adapter/src/main/kotlin/ca/allanwang/kau/animators/KauAnimator.kt @@ -8,13 +8,13 @@ import ca.allanwang.kau.utils.KAU_RIGHT /** * Created by Allan Wang on 2017-06-27. */ -class KauAnimator( +open class KauAnimator( val addAnimator: KauAnimatorAdd = SlideAnimatorAdd(KAU_BOTTOM), val removeAnimator: KauAnimatorRemove = SlideAnimatorRemove(KAU_RIGHT), val changeAnimator: KauAnimatorChange = FadeAnimatorChange() ) : BaseItemAnimator() { - fun startDelay(holder: RecyclerView.ViewHolder, duration: Long, factor: Float) + open fun startDelay(holder: RecyclerView.ViewHolder, duration: Long, factor: Float) = Math.max(0L, (holder.adapterPosition * duration * factor).toLong()) override fun removeAnimation(holder: RecyclerView.ViewHolder): ViewPropertyAnimator { |