Questions tagged [pagersnaphelper]

25 questions
1
vote
2 answers

Nudge a paged recyclerview to hint at next page without switching

I'm using a horizontal recyclerview with a LinearLayoutManager and a PagerSnapHelper and each viewholder/page is fullscreen and snaps to the window so only one page is viewable once settled. Like most fullscreen swipeable tabs. When inserting a new…
1
vote
2 answers

RecyclerView with 3 by 3 item Horizontal scroll

In my project, I need to show the list of item in 3 by 3 on the horizontal scroll view with left and right arrow. If I click on the right arrow next 3 item should display like below image I am confused that I need to go with ViewPager or…
1
vote
0 answers

How to give inshort like (staking) animation with Recycler view?

I am using Recycler view with SnapHelper and want animation like in bellow link but every other tutorial achieve this effect with viewpager, how to give this animation with Recycler view? This is what i want to achieve demo animation.
0
votes
0 answers

RecyclerView peek behaviour

I'm using a horizontal RecyclerView with PagerSnapHelper to make it look like a ViewPager. It's displaying child views. How can I make it show a small peek of the next entry? The user needs to see close to 20% of the next entry to understand…
Darshan Bidkar
  • 515
  • 2
  • 6
  • 9
0
votes
1 answer

Implementing auto fling at an interval on a Recycler View in android

I have a recycler view with the following attributes in the xml file. NOTE : I AM DISPLAYING ONLY ONE ITEM OF AT A TIME ON THE SCREEN FOR THIS RECYCLER VIEW.
0
votes
0 answers

Scrollview inside RecyclerView

I have scrollview inside Recycler view. I am trying to achieve swipeable behaviour like inshorts but the card should scroll to the bottom so user can see all the contents. Once scrollview bottom has been reached then swipe should work to move to…
0
votes
1 answer

Scrolling issue with CollapsingToolbarLayout and RecyclerView

I am in a situation where i have CollapsingToolbarLayout and RecyclerView and so far every thing works pretty fine now i have a requirement where i have to use PagerSnapHelper with RecyclerView val snapHelper: SnapHelper =…
0
votes
1 answer

Catch Animation Event of SmoothScroll in RecyclerView [Android]

I have a GridLayout RecyclerView with a PageSnapHelper attached that essentially acts like a Vertical Linear RecyclerView (I inherited the code, not sure why this was done). The goal is to highlight the item currently centered in the view. Scrolling…
0
votes
1 answer

How to change drawable of an ImageButton for every CardView individually in RecyclerView?

I want to change drawable of an ImageButton in RecyclerView using CardView, depending of condition of an Object in CardView when user is scrolling through the RecyclerView (Horizontal, with SnapHelper attached). ImageButton is in Main Activity…
unipin
  • 259
  • 1
  • 3
  • 13
0
votes
0 answers

RecyclerView with offsets and PagerSnapHelper not clipping correctly

I´ve two RecyclerViews with two ItemDecoration each that adds a fixed offset to the first and last items. StartOffsetItemDecoration.kt class StartOffsetItemDecoration : RecyclerView.ItemDecoration { private var mOffsetPx: Int = 0 private…
reixa
  • 6,903
  • 6
  • 49
  • 68
1
2