Open henriquecm opened 8 years ago
I am using the carouselview inside a viewpager and when i swipe from the last slide it don't go back to the first, it change the page from viewpager.
Here the fragment where i am using a carouselview.
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/home_frame_layout" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="layout.HomeFragment"> <com.wiplojas.enfoquearapongas.customViews.CustomSwipeToRefresh android:id="@+id/home_refresh" android:layout_width="match_parent" android:layout_height="match_parent"> <ScrollView android:id="@+id/home_scroll" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <com.synnapps.carouselview.CarouselView android:id="@+id/home_carousel" android:layout_width="match_parent" android:layout_height="200dp" app:indicatorGravity="bottom|center_horizontal" app:slideInterval="5000" /> <android.support.v7.widget.RecyclerView android:id="@+id/home_recycler" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="4dp"/> </LinearLayout> </ScrollView> </com.wiplojas.enfoquearapongas.customViews.CustomSwipeToRefresh> </FrameLayout>
That's because infinite scroll is not implemented. You are asking for a feature that doesnt exist in this View object. You need to learn what infinite scroll is.
I am using the carouselview inside a viewpager and when i swipe from the last slide it don't go back to the first, it change the page from viewpager.
Here the fragment where i am using a carouselview.