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

Nested recyclerview endless scroll not working

I have recyclerview which contains horizontal child recycler views and in the end it has one single endless scrolling vertical recycler view child <---RecyclerView-------->
2
votes
1 answer

How to sync scrolling of all horizontal nested RecyclerViews within a vertical RecyclerViews?

Background Suppose I have a vertical RecyclerView, where each row is a horizontal RecyclerView. What I'd like to do is that no matter which horizontal RecyclerViews you scroll, all of the others will scroll accordingly, and always be synced with the…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
2
votes
1 answer

In nested recyclerview, child recyclerview's GridLayoutManager.getChildCount() gives total item count

I am using a RecyclerView inside SwipeRefreshLayout.The RecyclerView has another 2 RecyclerView (for now; it may increase). In my second RecyclerView i am trying to implement infinite scrolling. But my RecyclerView.getItemCount() and…
umuieme
  • 729
  • 6
  • 20
2
votes
0 answers

Android- Scroll to selected item in nested recyclerviews

I have a Recyclerview inside another RecyclerView, the inner recyclerview item views are clickable. When I click any item view in the inner recyclerview, it is not scroll to top, I tried using scrollToPosition(position) and scrollTo(X, Y) methods…
Rajapandian
  • 9,257
  • 24
  • 74
  • 86
1
vote
1 answer

Nested Vertical RecyclerView doesn't show all contents. Works if child RecyclerView is horizontal

I have the following requirement - a vertical Recyclerview of List which contains a TextView and a child vertical RecyclerView of List. This data comes from an API. The issue is that the inner RV doesn't scroll and doesn't display all the items,…
1
vote
0 answers

Nested RecyclerView does not load until i touch my search view

I'm trying to use a nested recycler view to show some products from Firestore in a home fragment that is similar to play store. the screen doesn't have an action bar. I have used Search View inside a layout and following that the Nested Recycler…
1
vote
0 answers

Horizontal RecyclerView in Horizontal RecyclerView is not scrolling

I have horizontal recycler view in which each child has nested scroll view in which I have another horizontal recycler view. View seems to bo displaying fine but I am not able to scroll child recycler view. When I am trying to scroll - parent…
1
vote
0 answers

Auto Scroll Nested Recycler view , during drag and drop

I wrote this function to handle scrolling for my nested VERTICAL recycler views. ( both of them vertical ! I have disabled nestedScrolling in the child recycler Views ) val mgr: LinearLayoutManager = vList.layoutManager as LinearLayoutManager …
Divesh
  • 112
  • 1
  • 6
1
vote
1 answer

How to implement nested paging in android kotlin?

I have a recyclerview , for i using pagin 3 with coroutine live data . but child recyclerview also have paginate data so how can i perform this nested pagination in android kotlin.
1
vote
0 answers

nested recyclerview to open a new activity

I am new to Android developing and I am stuck and can't find solution how can I do onClick() event to open new activity for nested RecyclerView this is MainActivity.kt package com.example.recyclerviewmultitypeexample import android.os.Bundle import…
1
vote
0 answers

An issue with vertical parent scrollview and two children recycler-view in Android?

I've the following use case - // parent // content I do not have any access to the parent ScrollView because the library only allows setting the content view. And it doesn't provide any API or reference…
1
vote
0 answers

ItemTouchHelper.SimpleCallback onSwiped in nested RecyclerView with CardViews

In my app I have a (primary) RecyclerView that shows CardViews. In each CardView displayed there is in turn a (secondary) RecyclerView, which also displays CardViews. (Nested RecyclerView) These (secondary) RecyclerViews are set up in the…
1
vote
2 answers

Recyclerview smoothScrollToPosition is not working in android

I am using Recycler view inside NestedScrollView my code is here
1
vote
2 answers

Recycerview dynamic height for grid layout

I want to achieve this type of dynamic height of grid layout in recycler view. If a cell is having two lines then other cells in the same row should be of same height despite of having one line in other cells. Here is my row file code :
1
vote
1 answer

How to traverse a list retrieved from remote server API1, query another API2 to get list of A, and return both query result list finally

First of all, let me show the UI First, query list of Head from remote server API1 by parameter tab1 and return list. Second, traverse list and query the body list for every Head through API2 and combine the head and corresponding list. Finally,…
Saint
  • 1,492
  • 1
  • 11
  • 20