diff --git a/app/src/main/java/com/mindorks/example/ubercaranimation/MainActivity.kt b/app/src/main/java/com/mindorks/example/ubercaranimation/MainActivity.kt index 7da79bf..dfa832e 100644 --- a/app/src/main/java/com/mindorks/example/ubercaranimation/MainActivity.kt +++ b/app/src/main/java/com/mindorks/example/ubercaranimation/MainActivity.kt @@ -144,7 +144,7 @@ class MainActivity : AppCompatActivity(), OnMapReadyCallback { run { if (index < 10) { updateCarLocation(cabLatLngList[index]) - handler.postDelayed(runnable, 5000) + handler.postDelayed(runnable, 3000) ++index } else { handler.removeCallbacks(runnable) diff --git a/assets/how-to-add-uber-car-animation-in-android-app-gif.gif b/assets/how-to-add-uber-car-animation-in-android-app-gif.gif index 0b8a656..c7fe30f 100644 Binary files a/assets/how-to-add-uber-car-animation-in-android-app-gif.gif and b/assets/how-to-add-uber-car-animation-in-android-app-gif.gif differ