Questions tagged [nestedrecyclerview]

android: horizontal linear recycler view nested within a vertical recycler view

android: horizontal linear recycler view nested within a vertical recycler view

198 questions
2
votes
1 answer

How to use nested Recyclerview in Android

In my application I want use RecyclerView into another Recyclerview and for this I wrote below codes. But after run application messed colors when scroll on items! I have one RecyclerView for show products and into this RecyclerView I have onother…
2
votes
1 answer

Nested RecyclerView OnclickListener

I have nested RecyclerView (MainRecyclerview and ChildRecyclerview) with two Adapters(MainRecyclerviewAdapter and ChildRecyclerviewAdapter), i create an interface to handle click for childRecyclerview, but i can only access that click in…
2
votes
1 answer

Android implement auto play video inside the nested RecyclerView like Instagram auto play video

I would like to implement an Instagram kind of auto-play video player feature inside my app and for the same, I did try a few libraries and also tried a few ways to set up callbacks to pass lifecycle-related callback from fragment to Vertical…
Bipin Vayalu
  • 3,025
  • 2
  • 25
  • 39
2
votes
0 answers

Wrong adapter when using RecycledViewPool

We have a recycler view and inside it we have another recycler view. For the second recycler view, we are using a viewpool. Our nested recycler view is a list of little images and when the user click on one, it should open. In most part of cases, it…
2
votes
0 answers

Enable recycler view item to drag-drop over whole list while recycler view is child of nested scroll view

I am facing issue while enabling full scroll in drag/drop gesture of recycler view item. Here, I have a bit complicated layout, I have attached one image for easy understanding. Where, A = RV 1 having drag, drop and swipe gestures, Horizontal…
2
votes
0 answers

Nested recyclerview Scrollbar height varies during scroll

I'm Using recyclerview In which its some items(child) are horizontal recyclerview others are layouts. I've enabled Scrollbar for the root recyclerview. The Problem i'm facing is whenever i'm scrolling the height of the scrollbar changing according…
VijayDroid
  • 126
  • 1
  • 7
2
votes
3 answers

Prevent a child in ScrollView from being scrolled out of the screen

Somehow I came across Reddit app, and wondered how their Scrolling mechanism works. As you can see from the gif, there is a Menubar (Up/Downvote-comment-share bar) that always locates within the screen and can’t be scrolled out of the screen when…
2
votes
1 answer

Nested RecyclerView Adding Space Between Items After First Scroll

I am trying to implement a simple nested recyclerview with a vertical parent and horizontal children. The layout for the parent is:
Alex Kombo
  • 3,256
  • 8
  • 34
  • 67
2
votes
1 answer

How to update data in nested child RecyclerView without losing animations/initialising a new adapter?

I have a ParentData class structured as follows: class ParentData( //parent data fields var childList: List I am populating a parent RecylerView with a list of ParentData and then populating each nested child RecyclerView with the…
2
votes
0 answers

Why is Nested RecyclerView with same orientation not used

I need to create a UI like above. The working is like when i click on an Order it needs to vertically expand with the products corresponding to that order. I have tried using recyclerview for displaying the Orders. Then nested recyclerview for…
Aswin .A.S
  • 177
  • 1
  • 14
2
votes
0 answers

Vertical Recycler View inside Vertical Recycler calling onBindViewHolder for all the items

I have a nested recycler view. One of the items of parent recycler view is a horizontal recycler view and another item is a vertical recycler view. The onBindViewHolder of child recycler view is called for all items even for those not visible…
Ashok Singhal
  • 520
  • 1
  • 5
  • 10
2
votes
0 answers

Call adapter.notifyItemChanged(position) but itemView at position+1 dismissed

I had a layout like this: ... ... ... It's a…
Fan Applelin
  • 746
  • 1
  • 6
  • 16
2
votes
1 answer

Loading data in Nested Recycler View

I am creating UI similar to this one: For this I did he following: 1. Took a parent recycler view 2. Defined two view types one for grid and one for vertical list and created two view holders. 3. Each view holder has a recycler view to which list…
Nitish
  • 3,097
  • 13
  • 45
  • 80
2
votes
2 answers

multiple recyclerviews?

I want to make my homepage with two row with recyclerview with data of books and the events which are display independent of each other how can i accomplish it I want to add event to the my code how can i do it? MoviesAdapter.java public class…
Hardik Patel
  • 33
  • 1
  • 1
  • 5
2
votes
1 answer

Nested RecyclerView's height to “wrap_content” with a large amount of items

I have a RecyclerView nested in a vertical scrolling view. The RecyclerView displays items with a vertical LinearLayoutManager. Its height is (and has to be, per product specification) set to wrap_content. Problem is memory and performance issues…
1 2
3
13 14