Calm down chacha!
This commit is contained in:
@@ -113,7 +113,6 @@ class ActionButton : RelativeLayout {
|
|||||||
if (B.viewFlipper.displayedChild != displayChild) {
|
if (B.viewFlipper.displayedChild != displayChild) {
|
||||||
runOnUiThread {
|
runOnUiThread {
|
||||||
B.viewFlipper.displayedChild = displayChild
|
B.viewFlipper.displayedChild = displayChild
|
||||||
|
|
||||||
if (displayChild == 2)
|
if (displayChild == 2)
|
||||||
switchToIdle()
|
switchToIdle()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,12 +35,12 @@ class BallPulseIndicator : Indicator() {
|
|||||||
|
|
||||||
for (i in 0..2) {
|
for (i in 0..2) {
|
||||||
val scaleAnim = ValueAnimator.ofFloat(1f, 0.3f, 1f)
|
val scaleAnim = ValueAnimator.ofFloat(1f, 0.3f, 1f)
|
||||||
scaleAnim.duration = 750
|
scaleAnim.duration = 1000
|
||||||
scaleAnim.repeatCount = -1
|
scaleAnim.repeatCount = -1
|
||||||
scaleAnim.startDelay = delays[i].toLong()
|
scaleAnim.startDelay = delays[i].toLong()
|
||||||
|
|
||||||
addUpdateListener(scaleAnim) { animation: ValueAnimator ->
|
addUpdateListener(scaleAnim) {
|
||||||
scaleFloats[i] = animation.animatedValue as Float
|
scaleFloats[i] = it.animatedValue as Float
|
||||||
postInvalidate()
|
postInvalidate()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -511,8 +511,6 @@ class AppDetailsActivity : BaseDetailsActivity() {
|
|||||||
startDownload()
|
startDownload()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
btn.updateState(ActionButton.State.IDLE)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user