You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a strange bug, when i use the InfiniteViewPager in my code. If i change the direction of page scrolling it skips 2 fragments. For istance if i'm at page 5 and i've been scrolling right, than if i scroll right i'll go to page 6. If i scroll left i'll go at page 2, skipping the 2 pages in the middle.
Here is the MainActivity:
`
public class MainActivity extends AppCompatActivity {
I've got a strange bug, when i use the InfiniteViewPager in my code. If i change the direction of page scrolling it skips 2 fragments. For istance if i'm at page 5 and i've been scrolling right, than if i scroll right i'll go to page 6. If i scroll left i'll go at page 2, skipping the 2 pages in the middle.
Here is the MainActivity:
`
public class MainActivity extends AppCompatActivity {
@OverRide
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.navigation_drawer_layout);
}
`
Here is the navigation_drawer_layout.xml:
`
<android.support.v7.widget.Toolbar
android:id="@+id/my_awesome_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/grey_900"
app:titleTextColor="@color/grey_white_1000"
app:subtitleTextColor="@color/grey_white_1000"
app:collapseIcon="@color/grey_white_1000"
android:navigationIcon="@color/grey_white_1000"
android:collapseContentDescription="@color/grey_white_1000"
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
</android.support.v4.widget.DrawerLayout>
`
On the fragment i have a RecyclerView, can it be him the cause?
The text was updated successfully, but these errors were encountered: