diff options
author | Allan Wang <me@allanwang.ca> | 2017-12-31 15:07:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-31 15:07:05 -0500 |
commit | e2009a3e33a58bab37f433845f6d105cb7821da1 (patch) | |
tree | b23f3587db872be7b7ac6a4885862c7d56e35be3 /core-ui/src | |
parent | 2718156fe63304ffb792cc3cb8592ad6e494a8b0 (diff) | |
download | kau-e2009a3e33a58bab37f433845f6d105cb7821da1.tar.gz kau-e2009a3e33a58bab37f433845f6d105cb7821da1.tar.bz2 kau-e2009a3e33a58bab37f433845f6d105cb7821da1.zip |
Enhancement/logger (#120)
* Rewrite logger to use lazy loading
* Clean up and add to changelog
Diffstat (limited to 'core-ui/src')
-rw-r--r-- | core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/ElasticDragDismissFrameLayout.kt | 2 | ||||
-rw-r--r-- | core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/InkPageIndicator.java | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/ElasticDragDismissFrameLayout.kt b/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/ElasticDragDismissFrameLayout.kt index 49e31a1..6369704 100644 --- a/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/ElasticDragDismissFrameLayout.kt +++ b/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/ElasticDragDismissFrameLayout.kt @@ -236,7 +236,7 @@ class ElasticDragDismissFrameLayout @JvmOverloads constructor( fun addExitListener(activity: Activity, transitionBottom: Int = R.transition.kau_exit_slide_bottom, transitionTop: Int = R.transition.kau_exit_slide_top) { addListener(object : ElasticDragDismissFrameLayout.SystemChromeFader(activity) { override fun onDragDismissed() { - KL.d("New transition") + KL.v{"New transition"} activity.window.returnTransition = TransitionInflater.from(activity) .inflateTransition(if (translationY > 0) transitionBottom else transitionTop) activity.finishAfterTransition() diff --git a/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/InkPageIndicator.java b/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/InkPageIndicator.java index d56c85e..a963556 100644 --- a/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/InkPageIndicator.java +++ b/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/InkPageIndicator.java @@ -35,7 +35,6 @@ import android.view.animation.Interpolator; import java.util.Arrays; -import ca.allanwang.kau.logging.KL; import ca.allanwang.kau.ui.R; import ca.allanwang.kau.utils.AnimHolder; import ca.allanwang.kau.utils.ColorUtilsKt; @@ -640,9 +639,6 @@ public class InkPageIndicator extends View implements ViewPager.OnPageChangeList private void setJoiningFraction(int leftDot, float fraction) { if (leftDot < joiningFractions.length) { - - if (leftDot == 1) KL.INSTANCE.v("PageIndicator dot 1 fraction:\t" + fraction, null); - joiningFractions[leftDot] = fraction; postInvalidateOnAnimation(); } |