.Difference between recyclerView and recyclerListView. recyclerListView is ListView?? or both are same?
Related
I have a recyclerview with hybrid list, i.e with different types itemViews. 1 of the viewholder is based on exoplayer. But sometimes, while scrolling my exoplayer viewholder overlaps with other itemViews or moves in a delayed manner. Exact steps to reproduce it is as follows:-
Scroll to a video viewholder -> push the app to background -> pull back app to foreground -> scroll up/down the recyclerview to video viewholder
Video viewholder delays the scrolls and sometimes leaves space between the just above view and itself, or soemtimes overlaps with the view just below it.
I found a bug when using ViewPager2 (horizontal orientation), which the fragment contains a RecyclerView with GridLayoutManager (vertical orientation),
The RecyclerView with GridLayoutManager always jump-scrolls to top (1st item) when I scroll it vertically,
this issue does not exist when I change it to LinearLayoutManager
I suspect that this has something to do with bubbling onTouch event from nested recycler view, (AFAIK viewpager2 use RecyclerView)
Need help
Update: after doing research, it is may be caused by SwipeRefreshLayout wrapping my RecycleView, seems I need to extend it to something like "NestedScroll Swipe Refresh Layout"
I want to open a different row on scrolling RecyclerView vertically and hide previous row completely. Similar to ViewPager but vertically. I have tried the library VerticalViewPager, but it is just a vertical RecyclerView.
Please suggest me.
I am having trouble with this. I've been trying to use RecyclerView to have a page boundaries like ViewPager but prove to be difficult to do. Is there a way to overcome this problem?
I'm using a tablayout with 3 fragments, each fragment has its own recyclerview. When trying to swipe from a fragment on a item the tablayout doesn't change tabs. I probably have to override a certain motionevent, but I don't know how.
I hope someone has the answer to this!
Thanks in advance.
It appears that when you are using a RelativeLayout in the layout that you are inflating the swiping part doesn't work. After changing this to a LinearLayout it solved the problem!