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

Nested Recycler view is laggy while scrolling for the first time

Here, I have two recyclerview that has parentRecyclerViewAdapter and childRecyclerViewAdapter. Parent adapter has LinearLayoutManager.VERTICAL layout manager whereas Clild adapter has GridLayoutManager(mContext, 2) layout manager with…
1
vote
0 answers

How to properly implement a nested recyclerview, child recyclerviews behaving oddly

I am developing a chat application. The chat messages consists of normal text messages and sometimes it can be a list of items in a recyclerview. So I've implemented nested Recyclerview. So what happens is in the json response if the message is…
Stackover67
  • 347
  • 2
  • 4
  • 18
1
vote
2 answers

Nested RecyclerView handling onClick

I have a fragment which has a nested RecyclerView to display list of products. I implement this as per this solution by mmlooloo : How to create scrollable page of carousels in Android? This is my fragment where I called my…
1
vote
0 answers

Vertical RecyclerView containing nested RecyclerView

Structure of my Android app is forcing me to create Vertical Nested RecyclerView inside Vertical Nested RecyclerView because of the pre-drawing all nested items inside every RootRecyclerView. The View of RootRecyclerView has approximately 5 - 10…
1
vote
0 answers

Shared Element Transition from nested RecyclerView to fragment: fade works, move doesnt

Shared Element Transaction have a set of provided transistion types, slide_top, slide_bottom, fade, move etc in android.R.transition. My app : API 21 :: Single activity Fragment1 : Nested Recyclerview: A vertical recycler view, where each element is…
1
vote
0 answers

How to use Nested RecyclerView to get intended design

I'm having JSON format as below, I'm able to fetch this JSON data into android using retrofit but after fetching I'm not getting how to display it in Horizontal RecyclerView in Vertical RecyclerView as shown in below image, I want AAAAA to be…
madhu
  • 35
  • 1
  • 9
1
vote
0 answers

Android designconsideration for complex screen using recycler view

Following will be the layout in my app So I am considering of using recycler view. There will be a parent recyclerview, I which I will define different view types for each section e.g, viewpager, horizontal block etc. Depending on view types,…
Nitish
  • 3,097
  • 13
  • 45
  • 80
1
vote
1 answer

Nested Vertical RecyclerViews behave like one recyclerview

EDIT I solved this problem by using CoordinatorLayout and a AppBarLayout as a wrapper for the header and TabLayout. Should have been pretty obvious but oh well. ORIGINAL QUESTION: I have a design that I have tried multiple iterations to accomplish…
Furedal
  • 523
  • 2
  • 8
  • 19
1
vote
4 answers

Sharing items list between recyclerViews

I've created a nested RecyclerView like this (It's a vertical RecyclerView and its child views are TextView for the section title and horizontal RecyclerView for the items list). Some of the items can be in 2 (or more) horizontal RecyclerView at the…
Shalev Moyal
  • 644
  • 5
  • 12
1
vote
2 answers

RecyclerView nested RecyclerView smoothScrolltoPostion automatic scrolling is not normal

Now have such a demand, RecyclerView inside each item nested a vertical scroll viewpager, and viewpager is will automatically infinite loop rolling. I use nested RecyclerView RecyclerView to achieve, and the effect of rolling viewpager. I used…
1
vote
2 answers

How to attach a fragments inside an recyclerview

I want to include multiple fragments inside an recycler view. I am having main categories which i want to show vertically and below each category i want its sub categories to be shown horizontally. So, how should I do this as all the data is…
0
votes
0 answers

Expandable recycler view

Is there any way to make Amazon mobile application like "Menu" with nested expandable RecyclerView using java. I have been trying to replicate it but I don't know how to start designing the layout for it. Anyone have any idea that how can I achive…
0
votes
0 answers

Exapandable GridLayout RecyclerView

As shown in image I want to make similar expandable GridLayout RecyclerView. Initially, there will be a RecyclerView, which will contains Grid Laytout structure with span count=2. When I click any Item of the grid, it will exapand a layout below…
0
votes
0 answers

How to implement Nested Recycler View with retrofit

Parent Model data class Category( val category : String, val result : List? = null ) { } Child Model @Parcelize data class Result( val backdrop_path: String, val id: Int, val original_language: String, val…
0
votes
2 answers

How to hide only one clicked item title from a horizontal LinearLayoutManager based RecyclerView

I am using horizontal LinearLayoutManager to create a horizontal list on my RecyclerView as shown in the picture below My purpose is to hide the RecyclerView item title when I click on it. But when I click for example on the first item title to…