From fb9ca21757068c0fb4123a5e30b1471ae4c32cf3 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 10 Dec 2017 23:39:57 -0500 Subject: Unify start activity design (#112) --- about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'about/src/main') 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) { - startActivity(clazz, transition = true) + startActivity(clazz, bundleBuilder = { + withSceneTransitionAnimation(this@kauLaunchAbout) + }) } \ No newline at end of file -- cgit v1.2.3