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
0
votes
2 answers

How to get top visible item position of a child recycler view when it is full drawn within parent item on Scroll event

I have to get the top visible item of the child recycler view. The child recycler view is always fully drawn within the parent item and multiple parent items are visible on screen. I have tried the getting child layout manager and then getting the…
anil
  • 21
  • 2
0
votes
1 answer

Android Recycleview dragging items within a nested recyclerview for the second time is not working properly

I attempted to integrate the dragging feature for both the primary item and the extended list within that list. It functioned OK, however when I closed and reopened an item, the item (in extended list) stopped moving with the cursor. Check out this…
0
votes
0 answers

Nested Recyclerview causing ANR on Motion Event

I am currently working with two RecyclerViews, one acting as the parent and the other as the child. The parent RecyclerView consists of child items representing different videos, while the child RecyclerView contains frames within each video. My…
0
votes
0 answers

NestedRecyclerview slow performance android kotlin

I have a vertical recyclerview with 4 different types of views, each view has a horizontal recyclerview. My problem is that the main thread gets stuck for 5 seconds or so when loading everything, and looking at the layoutmanager I discovered that it…
0
votes
0 answers

Horizontal Recyclerview: setting custom item width is creating issues

Dont know whether there's an issue with my code or the recyclerview itself, but whenever I'm trying to populate a new list to the recyclerview, it auto scrolls itself to the top of the index. This does not happen when I set the items' width to MATCH…
0
votes
1 answer

How to remove horizontal recyclerview(child) inside the recyclerview(parent) scroll to first position when notifyitemchange?

I am using multiple view type inside the recyclerview. In which one of the view type is recyclerview of linear layoutmanager with horizontal orientation. I loaded all view type inside the parent recyclerview. When I change the some item in…
0
votes
0 answers

How to create one horizontal and one vertical RecyclerView with headings in a parent RecyclerView using Kotlin?

I am currently using one recycler view which is Parent and vertical scrolls in home fragment, I search through resources but as learner I cant find anything useful, I WANT TWO RECYCLERS_VIEW WITH HEADINGS (ONE IS HORIZONTAL SCROLL(on top) AND SECOND…
0
votes
0 answers

I want to add onclicklistener on nested recycleView and open new activity with passing value

I have nested RecyclerView with two Adapters(ItemAdapterand and SubItemAdapter), I want to add onclicklistener on nested recycleView and open new activity with passing the value.text
0
votes
0 answers

Child selection when Parent Item is Selected in Nested Recyclerview (Single Selection)

Requirement is like how can I track the Parent Item is selected, on which the child item can be selected accordingly. But in my case without selecting the parent Item child can be selected which I want to restrict. I am using Nested to show the…
0
votes
0 answers

UI glitch in nested expandable recyclerview while using set visibility and notifyItemChanged call, items overlap with each other while transitioning

Code Link Video demo I have created a nested expandable recycler view. when I click on an item it expands(set a part of view visible) and if it is already expanded it collapse. Only one item is expanded at a time. if I use visibility to gone or…
0
votes
0 answers

listening to button click in an adapter from another adapter in android

in my recyclerview adapter I have a bottomsheet in that bottomsheet I have another recyclerview. In the inner recyclerview i have a button. if I click that button I have to update the text in the bottomsheet which is in the other recyclerview…
0
votes
0 answers

Can not select lower index in child adapter after compressing higher index

I have a Parent and a child Adapter... when lower index of parent adapter is expanded at begining, it works fine.. And if i click on lower index and then click on the higher index... lower index gets compressed and all the index of child adapter…
Bijay
  • 1
  • 1
0
votes
0 answers

RecyclerView with pagination inside NestedScrollView lagging while data submit

I have nested scroll view and inside that has 4 recycler views(horizontal, vertical & grid), the last recycler view is vertical and it consists of nested recycler(horizontal) also. I have used the paging 3 library for the last recycler and loading 5…
0
votes
1 answer

How to use Nested RecyclerView in ListAdapter

I am working with Nested recyclerView, which mean a RecylerView's item also has a RecyclerView in it. I know basic approach using RecyclerView.Adapter but I want to achieve this using ListAdapter. Is it even possible to get this with ListAdapter? My…
0
votes
1 answer

hey i want to show the data in to a nested Recycler-view from my api json response ,only want to list json array-list from the response,

{ "err": false, "msg": "SUCCESS", "data": { "items": [ { "id": "i01", "name": "featured" }, { "id": "i07", "name":…
swaroop
  • 294
  • 1
  • 2
  • 13