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

Child recyclerView showing same items for all parent recyclerView (using Firebase Realtime Database)

Basically I want to create a parent recyclerView which shows the categories and the child recyclerView shows the books of that specific category. But the result of my code is giving me the same books for all categories. Below is the necessary code…
0
votes
1 answer

I am trying to open custom chrome tab from nested recycler view but couldn't having error Calling startActivity() from outside of an Activity

Here is the code I am using to open the custom chrome tab val builder = CustomTabsIntent.Builder() val customTabsIntent = builder.build() customTabsIntent.launchUrl(context.applicationContext,…
0
votes
2 answers

Child RecyclerView setadapter doesn't work on my Nested RecyclerView Android

I have two RecyclerViews. Parent RecyclerView works perfectly but the setadapter of the child's in the parent adapter does not work. I tried to make some log messages in the child adapter but they didn't even appear so the adapter is not even…
0
votes
1 answer

How to get list of items and sum of values of a column from a single query in room database in android

I would like to show date wise item list in my app. The list will have a header with date and sum of a value of a column. 24.12.2021 25 Book1 10 Book2 05 Book3 10 This is the entity: @Entity(tableName = "books") public class Books { …
ANKIT
  • 87
  • 1
  • 8
0
votes
0 answers

how to integrate the nested array response from the api into nested recyclerview in android

I'm trying to integrate the nested array response from the api into nested recyclerview in android I integrate the response but i couldn't get values from the response.` private void loadJson() { //creating a string request to send request to the…
0
votes
1 answer

Fetching all edit text from all input box of nested recylerview is fetching latest recylerview item instead all data

I am adding code here where i am trying to get all input field value (all nested recyler view items) on textview click . So if I have 2 parent recylerview and inside first parent 3 child recyler item and inside second parent recylerview 4 child…
0
votes
0 answers

Nested cardview inside recyclerview render problem with room

Using a nested CardView within a RecylerView in-room causes the CardView to not be rendered until you subsequently scroll down and back up in the containing RecylerView. Then the child CardView is shown as expected. This is my BindView holder in the…
0
votes
1 answer

What is the correct approach of writing Espresso UI Test for nested RecyclerViews

What is the correct way of writing UI Test for Nested RecyclerViews using Espresso Element structure is - RecyclerView1 - TextView1 - RecyclerView2 - TextView2 Requirement is to iterate over each RecyclerView items and validate…
0
votes
0 answers

Nested RecyclerView with onClick Functionality

I just started learning Android Development about two months ago and am still trying to fully figure things out. I needed to implement a Nested RecyclerView with onClick functionality. After reading through a lot of Stackoverflow posts with…
0
votes
0 answers

Not to update the recyclerview scrolling position when item is added or removed

I am working with recycler view and I have a small problem. So I have a list of products in the parent recyclerview1 but in this I have another recyclerview2 in the recyclerview1 as the end item. I can add items from recyclerview2 to recyclerview1…
Mohammed Rampurawala
  • 3,033
  • 2
  • 22
  • 32
0
votes
2 answers

how to get particular recycler view ltem category and pass it to new activity

I have created a movie app the app is almost complete but there is one shortcoming where if users click one particular category they have to see all the details of that particular category. I'm new to android so I don't know how to implement this.…
user16497274
0
votes
2 answers

How to get expandable items in recyclerview?

I want to display recyclerview with sub items which needs to expand/collapse. For example, Main Item 1 (expand) --- Child Item 1 (expand) ------- sub Item 1 ------- sub Item 2 --- Child Item 2 (expand) ------- sub Item 1 Main Item 2 (expand) ---…
0
votes
0 answers

How to create a Dynamic View as per JSON Response and take the values from them in android

I was using Nested Recycler View to show that forms. I need to show questions and their options in a RecyclerView. For that I have used a recycler View to show questions and then I have used a recyclerView inside adapter of the main adapter. So that…
0
votes
1 answer

Focus switching to next row in nested recyclerview in FireTv App

In our fire tv app, we are using a nested recyclerview where every vertical item have a horizontal row as a child item like playstore design. Scrolling with dpad working fine normally but when i hold the right key for few seconds, item start…
0
votes
1 answer

Sort Recyclerview item data By Category name from Firestore Android

I am creating an Android Grocery Shop App, where firestore used. I am implementing a Nested Recyclerview where I have done coding for showing data from firestore to recycler view by Category Names. But, all products are showing in the recyclerview,…