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
4
votes
1 answer

How to test nested RecyclerView (RecyclerView inside RecyclerView) with Espresso

I have implemented RecyclerView(childRecyclerView) inside another RecyclerView(parentRecyclerView), picture blow explains all the implentation: I want to write an espresso test that checks all TextViews inside the childRecyclerView are with the…
4
votes
1 answer

Recycler View - disable Drag and Drop or Swipe actions for just few selected row from a list

I want to create a list, for example, To-Do List. In this User is allowed to select/unselect an item, reorder according to their priority. In the current scenario, I am able to give them all of the above functionality using…
Dhara Vamja
  • 554
  • 4
  • 17
4
votes
2 answers

Nested RecyclerView creates all ViewHolders at once

I have a rather complicated List with nested RecyclerViews. I get it that nested RecyclerViews aren't the best solution, but in my case it is one of few solutions that create structured code and meet the requirements. I have attached an image of the…
4
votes
3 answers

Recycler view items are not scrolling?

I am working on Recycler view and here i placed the three recycler views in a row horizontally in a layout.The issue is second and third recycler view items are displayed but cannot able to scroll even though using nested scroll inside and hereby…
4
votes
1 answer

Nested RecyclerView doesn't recycle

I have a very complex UI that requires multiple nested lists of lists and so on. Currently i have an outer RecyclerView and inside there is another RecyclerView that is actually an expandable recycler(is a refactored version of this component). It…
3
votes
1 answer

auto pagination if using recyclerview inside NestedSrollView with Paging 3?

I'm using recyclerview inside nestedscrollview to scroll in the full page size but that ruined the pagination functionality because it auto loads all the pages without user scrolling. here is my xml layout
3
votes
0 answers

Nested Recyclerview makes scroll laggy

I am using recyclerview with multi view type and using nested recyclerviews: But its scrolling very slow. I also handled the child recyclerviews scroll position in onViewRecycled function: override fun onViewRecycled(holder:…
3
votes
2 answers

Align two views in opposites sides (one at the top and one at the bottom) and be able to push the bottom view when the top view grows?

I basically have an EditText aligned at the top of the view and there's a RecyclerView on the bottom of the view that can also grow (with the newest item on the bottom) That's easily doable with a constraint layout but my problem is that when the…
3
votes
0 answers

Paging Library loadAfter method called infinite in nested RecyclerView

I have a RecyclerView (ParentRV) that render a list of items. Each child item (ViewHolder) is a RecyclerView (ChildRV) that render a list of items. Then I implement the Paging Library to load data for ChildRV. The problem is the Paging library's…
3
votes
1 answer

Nested RecyclerView onClick not triggered

I have two nested RecyclerViews - basically a list of horizontal RecyclerViews and I am struggling to make the items in the horizontal RecyclerView clickable. This is the main layout
3
votes
0 answers

Swipe-to-remove on a nested RecyclerView disables scrolling

I'm sure there is a simple solution of which I'm just not aware. I have a nested RecyclerView like this. The outer RecyclerView has vertical scrolling with an attached ItemTouchHelper so that swiping left triggers swipe-to-delete behavior. The…
3
votes
0 answers

Nested RecyclerViews : Cannot call notifyDataSetChanged() method while RecyclerView is computing a layout or scrolling

I have to do nested RecyclerView. I have a big list : list_one, which contains a title and another list, list_two, which contains a String and a CheckBox. When setting up a list_two, if the String is selected (by default), I want to call the…
Mathieu
  • 1,435
  • 3
  • 16
  • 35
3
votes
0 answers

RecyclerView + NestedScrollView + BottomSheetBehavior = bad performance?

Using Support library 27.1.1. I have a NestedScrollView with BottomSheetBehavior. Inside the bottom sheet layout I have LinearLayout with a header view at the top, then a RecyclerView at the bottom. The RecyclerView is populated with 10-20 custom…
l33t
  • 18,692
  • 16
  • 103
  • 180
3
votes
1 answer

How to implement an Expandable RecyclerView where the child is having a grid structure?

I need to have an expandable view where the parent/expandable title will have a text and drop-down arrow. Children of each such title should be a view having multiple items in a grid structure. (Kind of like a recycler view with GridLayoutManager).…
3
votes
0 answers

Nested Recyclerview ( recyclerview inner recyclerview ) how to optimize? scrolling, performance issue

i have struggled with this [nested recyclerview] problems. The biggest issue about this is performance. When i scrolling down or upside, annoying laggy is occur. I found some advice that [using expandable recyclerview, rather than using nested…
1
2
3
13 14