aboutsummaryrefslogtreecommitdiff
path: root/about
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-12-10 23:39:57 -0500
committerGitHub <noreply@github.com>2017-12-10 23:39:57 -0500
commitfb9ca21757068c0fb4123a5e30b1471ae4c32cf3 (patch)
tree7d5b5bbe749f24d522ebe6a57c1bf73f1590de48 /about
parent1269a026da6a4597f7123e310768e3377e8c63e8 (diff)
downloadkau-fb9ca21757068c0fb4123a5e30b1471ae4c32cf3.tar.gz
kau-fb9ca21757068c0fb4123a5e30b1471ae4c32cf3.tar.bz2
kau-fb9ca21757068c0fb4123a5e30b1471ae4c32cf3.zip
Unify start activity design (#112)
Diffstat (limited to 'about')
-rw-r--r--about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt b/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt
index 902f6e5..0380479 100644
--- a/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt
+++ b/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt
@@ -2,6 +2,7 @@ package ca.allanwang.kau.about
import android.app.Activity
import ca.allanwang.kau.utils.startActivity
+import ca.allanwang.kau.utils.withSceneTransitionAnimation
/**
* Created by Allan Wang on 2017-07-22.
@@ -11,5 +12,7 @@ import ca.allanwang.kau.utils.startActivity
* About activity launcher
*/
fun Activity.kauLaunchAbout(clazz: Class<out AboutActivityBase>) {
- startActivity(clazz, transition = true)
+ startActivity(clazz, bundleBuilder = {
+ withSceneTransitionAnimation(this@kauLaunchAbout)
+ })
} \ No newline at end of file