Loading app/src/main/java/foundation/e/apps/home/ImageCarouselScroller.kt +2 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ import android.widget.Scroller class ImageCarouselScroller(context: Context) : Scroller(context) { private val scrollDuration = 2000 private val scrollDuration = 1000 override fun startScroll(startX: Int, startY: Int, dx: Int, dy: Int, duration: Int) { super.startScroll(startX, startY, dx, dy, scrollDuration) Loading app/src/main/java/foundation/e/apps/home/ImageCarouselSwitcher.kt +2 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ import android.support.v4.view.ViewPager class ImageCarouselSwitcher(private var imagesCount: Int, private val imageCarousel: ViewPager) { private val handler = Handler() private val switchImageInterval = 4000L private val switchImageInterval = 2000L fun start() { handler.postDelayed(this::switchImage, switchImageInterval) Loading app/src/main/res/layout/fragment_home.xml +2 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,8 @@ <foundation.e.apps.utils.CustomNestedScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:scrollbars="none"> android:scrollbars="none" app:layout_constraintTop_toTopOf="parent"> <LinearLayout android:layout_width="match_parent" Loading app/src/main/res/layout/image_carousel_item.xml +1 −3 Original line number Diff line number Diff line Loading @@ -8,8 +8,6 @@ android:id="@+id/image" android:layout_width="match_parent" android:layout_height="match_parent" android:background="?android:selectableItemBackground" android:paddingTop="@dimen/layout_padding_large" android:paddingBottom="@dimen/layout_padding_large" /> android:background="?android:selectableItemBackground" /> </LinearLayout> No newline at end of file Loading
app/src/main/java/foundation/e/apps/home/ImageCarouselScroller.kt +2 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ import android.widget.Scroller class ImageCarouselScroller(context: Context) : Scroller(context) { private val scrollDuration = 2000 private val scrollDuration = 1000 override fun startScroll(startX: Int, startY: Int, dx: Int, dy: Int, duration: Int) { super.startScroll(startX, startY, dx, dy, scrollDuration) Loading
app/src/main/java/foundation/e/apps/home/ImageCarouselSwitcher.kt +2 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ import android.support.v4.view.ViewPager class ImageCarouselSwitcher(private var imagesCount: Int, private val imageCarousel: ViewPager) { private val handler = Handler() private val switchImageInterval = 4000L private val switchImageInterval = 2000L fun start() { handler.postDelayed(this::switchImage, switchImageInterval) Loading
app/src/main/res/layout/fragment_home.xml +2 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,8 @@ <foundation.e.apps.utils.CustomNestedScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:scrollbars="none"> android:scrollbars="none" app:layout_constraintTop_toTopOf="parent"> <LinearLayout android:layout_width="match_parent" Loading
app/src/main/res/layout/image_carousel_item.xml +1 −3 Original line number Diff line number Diff line Loading @@ -8,8 +8,6 @@ android:id="@+id/image" android:layout_width="match_parent" android:layout_height="match_parent" android:background="?android:selectableItemBackground" android:paddingTop="@dimen/layout_padding_large" android:paddingBottom="@dimen/layout_padding_large" /> android:background="?android:selectableItemBackground" /> </LinearLayout> No newline at end of file