diff options
author | Allan Wang <me@allanwang.ca> | 2017-12-27 20:50:13 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-12-27 20:50:13 -0500 |
commit | 2718156fe63304ffb792cc3cb8592ad6e494a8b0 (patch) | |
tree | de0f35edc3115355001c6d7600b911626da7c064 /core/src/main | |
parent | 196a29b88bc2e1e464f4aa01ae5b0677f5067ee5 (diff) | |
download | kau-2718156fe63304ffb792cc3cb8592ad6e494a8b0.tar.gz kau-2718156fe63304ffb792cc3cb8592ad6e494a8b0.tar.bz2 kau-2718156fe63304ffb792cc3cb8592ad6e494a8b0.zip |
Remove activityoptionscompat
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/kotlin/ca/allanwang/kau/utils/BundleUtils.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/BundleUtils.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/BundleUtils.kt index 98fceaf..76c314a 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/utils/BundleUtils.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/utils/BundleUtils.kt @@ -6,7 +6,6 @@ import android.app.ActivityOptions import android.content.Context import android.os.Bundle import android.support.annotation.AnimRes -import android.support.v4.app.ActivityOptionsCompat import ca.allanwang.kau.R /** @@ -32,7 +31,7 @@ fun Bundle.withSceneTransitionAnimation(context: Context) { fun Bundle.withCustomAnimation(context: Context, @AnimRes enterResId: Int, @AnimRes exitResId: Int) { - this with ActivityOptionsCompat.makeCustomAnimation(context, + this with ActivityOptions.makeCustomAnimation(context, enterResId, exitResId).toBundle() } |