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
1
vote
0 answers

Scroll issue with RecyclerView in RecyclerView

I have a RecyclerView where each item is a linear layout (orientation vertical) with a text view and another horizontal RecyclerView. The expected behaviour would be that the user would be able to seamless change from vertical to horizontal scroll,…
1
vote
2 answers

How to make Horizontal Scroll View inside Horizontal Recycler View work?

I have searched in similar questions and tried several answer without solving .. I have Horizontal Recycler View displaying city names and some data the problem is that I put canvas bar chart or RV chart as figure below inside Main Recycler View…
1
vote
0 answers

All child recyclerView's items changed when one child recyclerview's item is changed while click the item

I am working with nested recyclerView. According to business logic, first I have to call an API that fetched the list of item that is shown in the Parent recycler view. After that, if a user clicks any of the items of the parent recycler view,…
1
vote
0 answers

Nested RecyclerView expand/collapse function is not responding

I have 2 RecyclerView (Vertical) one inside the other. Outer RecyclerView is having a List of Child and within this Inner, RecyclerView is having list of devices available to the specific child. The inner RecyclerView is having a condition that it…
1
vote
1 answer

nested recyclerview using paging adapter (paging 3) show wrong image after scrolling

How to solve the child adapter image that changes and show wrong images after scrolling? this is my code Parent Data Class data class Review( val author: String, val date: String, val rating: Float, val comment: String, val images:…
1
vote
1 answer

How to load the 0th data from the arraylist on recyclerView from the 1st position of adapter if using nested recyclerView?

I am working on an application where I need to show the recyclerView inside recyclerView. Now, recyclerView inside recyclerView is conditional based. If we have data there for the innerRecyclerView then only we need to show it else no need to show…
1
vote
1 answer

How to access all cardviews in a recyclerview, on item click of a particular cardview

I have a main recyclerview,which displays my main cardview. Now this main cardview got a child recyclerview inside,which holds the child cardview. Now when i click on the anyof the main cardview,the child recyclerview with child cardviews become…
1
vote
1 answer

how to add RecyclerView in one of the inflated layout of viewpager2

I'm trying to create a RecyclerView in each layout of viewpager2 for viewpager2 I'm using RecyclerView adapter to inflate layouts 1. main layout
1
vote
0 answers

How to make TimeLine just like Instagram with multiple Images and Video and Autoplay Back?

I am implementing Timeline just like Instagram, but i have multiple tabs as i mentioned in the picture. and each tab have separate fragments. Each single fragment have a RecyclerView for multiple Post and i made an adapter for rendering list. i…
1
vote
1 answer

Why Epoxy recyclerview not generate custom model class in kotlin

I want to create a custom epoxy model class in epoxy.HotelItemModel_() class is not generated in Epoxy Controller @EpoxyModelClass(layout = R.layout.singlefood_layout) abstract class HotelItemModel (@EpoxyAttribute var food: Food) :…
sri
  • 105
  • 9
1
vote
1 answer

recyclerview items size not the same size in layout

I'm trying to make a nested recyclerview with multiple items and after finishing the adatper and design and going in testing I got this in the emulator I didn't understand why items appears like that, the items not the same height and width which…
Amin
  • 463
  • 2
  • 11
  • 29
1
vote
1 answer

The view is not a child of CoordinatorLayout

I am getting java.lang.RuntimeException: Unable to start activity java.lang.IllegalArgumentException: The view is not a child of CoordinatorLayout.working with bottom sheet, I have tried lot of combination but still i am not getting solution. please…
TheNameIsViRu
  • 13
  • 1
  • 9
1
vote
0 answers

How to horizontally scroll every RecylerView placed inside a row-item of parent recyclerview, as one single entity than individual row scrolling

I have a layout comprising of parent recyclerview, and each row-item of it contains a textview and horizontal recyclerview. Now, I want all row recyclerviews to scroll together than allowing each row recyclerview to scroll individually. Kindly…
1
vote
2 answers

Android Trello Horizontal+Vertical Recyclerview

Is there any solution how to implement Horizontal recyclerview with the combination of vertical recyclerview that is inside every column of this horizontal list? Something very similar like in Android Trello app (red arrows - slide for the whole…
jantursky
  • 1,122
  • 1
  • 10
  • 21
1
vote
0 answers

Recyclerview as an item of recyclerview

I have two recyclerviews, both of them are vertical. These two have seperate adapters and outer one is grid layout manager. On the other hand, inner recyclerview has staggered layout manager. Inner recyclerview never scrolls because of its parent…