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

(Android) How to disable scrolling of certain elements of nested recyclerview

With this link you can navigate to the image of my recyclerview. Here I have vertical recyclerview inside horizontal recyclerview. The horizontal scrolling works fine because I have used LinearSnapHelper. So everytime I scroll horizontally, one of…
0
votes
1 answer

Nested Recyclerview with dynamic data

I want to display Horizontal list inside vertical list. If initially i set data , it is displaying fine. but i need to update inner list dynamically. but inner list onBindViewHolder is not getting called when updating. Main adapter private…
Shruti
  • 391
  • 1
  • 5
  • 21
0
votes
1 answer

RecyclerView Inside Recylerview, Inner RecyclerView Items does not displays completely on some devices

I have a requirement of screen with single scroll. Main Activity having one RecyclerView. This Row Item includes 2 recyclerview in which one is horizonatal and other is vertical. Whats the best approach to design this view please let me…
0
votes
1 answer

How do I parse nested JSON using Klaxon and display in recyclerview?

This is my MainActivity.kt class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) var data = Klaxon() …
0
votes
1 answer

How to update the UI of Nested recyclerview row from detail screen at the same time?

UI Description I am working on a social media app like facebook for professionals. In which at the home page there are multiple feeds(Posts) like Facebook. These feeds are consist of Nested recyclerViews - where one is the Main recyclerview…
0
votes
1 answer

Drawer with toolbar as appbar

I'm trying to create an app which uses a DrawerLayout to show several options which are used to influence the results presented do the user. Here's an emulator capture that shows the current result: Now, I'm also using a Toolbar with the only…
Luis Abreu
  • 4,008
  • 9
  • 34
  • 63
0
votes
0 answers

What will be the best ways to improve the scrolling?

I am having a parent recycler view with vertical rows, where odd rows of recycler view are header views and even rows are again recycler views with horizontal scrolling. What are the best ways to improve scrolling such that all the vertical scrolls…
0
votes
1 answer
0
votes
1 answer

Multiple View Holdes vs Single view holder with all views defined and properly handling visibility. Which is better for Recycler View?

Which approach is better while using recycler view? Is it better to have different view holders for different views or single view holder with all the different layouts defined in it and handling the visibility of layouts appropriately? And why the…
0
votes
0 answers

Correct way to implement NestedRecyclerview

I know this topic has been 'touched' alot of times, but I still haven't found the correct way of implementing recyclerview/s inside recyclerview. My goal is to have a single vertical recyclerview as parent and multiple horizontal recyclerviews…
MaaAn13
  • 264
  • 5
  • 24
  • 54
0
votes
1 answer

Vertical RecyclerView reacts to scroll on nested Horizontal RecyclerView

In my activity, I have ViewPager consisting of fragments. I have disabled swipe motion on ViewPager using CustomViewPager. My fragment layout has Vertical RecyclerView and inside this RecyclerView there are multiple Horizontal RecyclerViews. To…
Timmy Simons
  • 599
  • 8
  • 21
0
votes
1 answer

Recycler view last item taking more space?

I Using recycler Grid view with endless scroll.i have facing new issue on recycler view last item.in first time load last list last item take additional space.when scroll top & comeback again same place it auto assign correct space.i add my issue…
0
votes
2 answers

How can I design a gridview type of view inside a cardview and implement it in code?

I have already made the recyclerView and I can't figure out how to design the cardview . As it has 4 custom items inside it . How can I get the access to the card items? In my cardview design layout where I have placed a gridview inside the…
-1
votes
2 answers

RecyclerView Scrolling Slow

When i get the data from Json And put in the recyclerview. It is scrolling very slowly? Plz Help me to solve this solution. recyclerView = findViewById(R.id.recycleview); adapter1 = new Landing_recycler_adapter(MainActivity.this,…
-1
votes
1 answer

crash on RecyclerView.java:5421 validateViewHolderForOffsetPosition

Help me how to handle this crash, on this recyclerview I use an adapter in it and in the scroll function I use NestedScrollView when positionViewHolder position=111 id=-1, oldPos=110,…
1 2 3
13
14