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

How to implement onClick listener on nested recyclerview

I am trying to implement a click listener on a nested recyclerview so that when an item on the child recycler view is clicked, an action is performed. I can do it for the parent recyclerview, but can't seem to do it for child recyclerview items. I…
0
votes
0 answers

why my recyclerView isn't being inflated?

so i have a recyclerView which contains within it another recyclerView. for some odd reason the main recyclerView isn't being inflated which means the inner one won't be inflated as well, i tried to find the problem for over 3 days now, but i still…
0
votes
0 answers

Android Studio FirestoreRecyclerAdapter Comment with Replies (nested recyclerview)

I wanted to make a Comment & Reply function for social media app something like instagram enter image description here is there a way to have a nested recyclerview by using FirestoreRecyclerAdapter? here is my plan enter image description here and…
0
votes
1 answer

how to get parent postion by their child item in Nested RecycleView

I'm working on Nested Recycleview i have ParentAdopter class and ChildAdopter class as well as two classes for their items Parentitem ChildItem. I know how get the postion of parent but I want to know the child on which parent postion located…
0
votes
0 answers

How to show tool tip on Nested ScrollView on ScrollChanged listener to a specific position in adpater

I have a Nested RecyclerView and have multiple adapters in it, in one of the adapter on 2nd Position i need to show the tooltip when user scroll and reaches to that adapter.Scrolling should stop after that Layout for the adapter is visible. I'm able…
Naveen rana
  • 101
  • 6
0
votes
0 answers

Nested RecyclerView OnclickListener to new fragment

**I want to know how to click the items in childRecyclerview show different fragment, I think we should try to modify childAdapter, I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this. hear…
Lei You
  • 1
  • 1
0
votes
1 answer

Why am I getting Null pointer Exception In my Adapter class?

I am using Recycler view with multiple views types in my project. Now when i scroll up and down the recycler view, my app crashes with a Null Pointer Exception. Here is my code of Main Adapter class. class MainFragmentAdapter(private val myContext:…
0
votes
0 answers

WoxBlom dragList data grouping

i am using https://github.com/woxblom/DragListView lib i want to group data although i have set pragmatically margins on base of id data grouping fine but when i scroll vertically up and down group mixed up so i used another technique i set adapter…
0
votes
1 answer

Why is this recyclerview only shows 5 items?

So this recyclerview somehow only shows 5 items. When I delete the 5th item, the 6th item will comeout, so it seems it can only shows 5 items. Why? For further information, this recyclerview is using Groupie library. I have used the same code in…
0
votes
1 answer

Cannot access Fragment in nested RecyclerView

I want to load an image from an URL into an imageView within a nested RecyclerView. I use the Glide library for that. @Override public void onBindViewHolder(@NonNull InnerAdapter.ViewHolder holder, int position) { …
0
votes
1 answer

Added images in the first item, when created another item, then showing the images of previous item instead of showing empty child recycler view

Inside a parent linear recycler view, I’ve child grid recycler view. When I click on the image icon, it’ll go to gallery and I can select multiple images and show in the child grid recycler view. I’ve created an item and added images from the…
0
votes
0 answers

Nested RecyclerView that changes position depending on selected category

I'm having a hard time creating a nested recycler view that will allow the second one to appear depending on the "movie category" selected. This is what's supposed to happen in the app. Every time a user click a category, recyclerview2 should appear…
0
votes
0 answers

Nested RecyclerView doesn't react to notify functions

I have a problem when working with nested RecyclerView in RecyclerView. In my parent RecyclerView I am displaying rows of items. These rows have rows of scanned goods. If I want to display the scanned rows, I click on the parent Recyclerview and it…
0
votes
2 answers

Nested RecyclerView load second item with lag

I'm trying to make Recyclerview like Shareit app. It uses sticky header and something like Cardview. I searched and found somethings for implementing sticky header with itemdecoration and it's okay. But for Cardview part, I tried to make nested…
user13954958
0
votes
2 answers

how to handle click event for each item in recyclerview child in nested recyclerview

I have a nested recyclerview to show the list of foods in each category. When the user clicks the increase or decrease button, the quantity will be updated to the quantity textview and synced to the cart stored in the database, but currently I don't…