Questions tagged [nestedscrollview]
308 questions
7
votes
4 answers
Nested scrollview inside gridview place is taking only somepart
I have:
1.Coordinator layout
2.appbar layout (child of Coordinator layout)
3.Collapsing toolbar layout (child of app bar)
4.NestedScrollView (child of coordinator)
I want to put a grid view inside NestedScrollView so that user can scroll over the…

Midhun
- 744
- 2
- 15
- 31
7
votes
2 answers
Recylerview not visible inside scrollview or nestedScrollview
I want to place a RecylerView inside NestedScrollView as below
activity_service_menu.xml

Narendra
- 127
- 1
- 6
6
votes
2 answers
How to use infinite scrolling recyclerview inside nestedscrollview?
The height of the screen is not enough because there are many items containing two recyclerviews on one screen.
So I tried to have a child view in a nestedscrollview.
however, all the items are loaded at once, or recyclers are not recycled.
So I…

Jshin
- 131
- 2
- 9
6
votes
2 answers
RecyclerView inside NestedScrollView causes RecyclerView to inflate all elements
I'm having an issue with placing a RecyclerView inside a NestedScrollView, which causes ALL elements of the RecyclerView's adapter to be rendered.
This is a rather large issue, as the lists that the RecyclerView is showing can contain several…

Moonbloom
- 7,738
- 3
- 26
- 38
6
votes
0 answers
Scroll to the bottom of a CoordinatorLayout that contains a NestedScrollView and an AppBarLayout
Is there a way (programatically or by xml) to scroll to the bottom of the following CoordinatorLayout (see below), so the last element in the NestedScrollView is visible when the screen is displayed?
Attached are the actual screen displayed and the…

Fer
- 1,956
- 2
- 28
- 35
6
votes
0 answers
RecyclerView with CollapsingToolbarLayout is scrolled badly when flinged
I've found strange behavior in RecyclerView with CollapsingToolbarLayout.
When I scroll RecyclerView - it works perfectly. But when I try to fling it and stop that fling fast enough - I can see, that RecyclerView is scrolled "inside itself".
Bad…

NonGrate
- 862
- 9
- 22
6
votes
2 answers
Android NestedScrollView's child views ignoring first click
I am using Coordinator layout along with NestedScrollView in my fragment for the Collapsing Toolbar animation. I am adding views dynamically to my Nested Scrollview container. I have implemented onClickListener on the views inside NestedScrollView,…

Akshit Chhabra
- 81
- 2
- 5
6
votes
3 answers
Android: Check if NestedScrollView is at the bottom or at the top
I am using a NestedScrollView and I want to check if the NestedScrollView is at the bottom or at the top :-)
Any suggestions?
Thank you!

FabASP
- 581
- 1
- 6
- 20
5
votes
2 answers
Sliver not allowing to set Max Width of Container?
I am trying to make a responsive page that works well on Mobile and Desktop. I am using SliverAppBar inside NestedScrollView. The issue is maxwidth constraints to a container are totally ignored in NestedScrollView. This behavior is also same with…

Jay Babani
- 103
- 1
- 8
5
votes
2 answers
How to create a tabbar that sync with a widget scroll in flutter?
Basically what I want to accomplish here is to have a horizontal list of categories(could be TabBar) and a vertical list of the categories with items list in each category.
And when you click on a category it should scroll to a position in the…

Jayson O.
- 485
- 1
- 6
- 20
5
votes
0 answers
How to automatically start scrolling a parent scrollable widget when the child scrollable reaches the top in flutter
It seems quite natural and maybe even expected, but I still haven't found anything that may help.
I have a ScrollablePositionedList (almost the same as a ListView) inside another scrollable widget (parent) (I've tried both CustomScrollView and…

Sofiane Zeghoud
- 81
- 2
5
votes
1 answer
Recyclerview scrollToPosition doesn't work with NestedScrollView ? Is there anyway?
So I have a Recyclerview within a NestedScrollView. When I say recycleview.scrollToPosition(X) or recycleview.getLayoutManager().scrollToPosition(X) it doesn't work at all.
If I move the recycleview out from the nestedScrollView it works fine, but I…

Bincy Baby
- 3,941
- 5
- 36
- 62
5
votes
0 answers
Extra blank space on CoordinatorLayout with a ScrollView and ListView
I've created a Scrolling Activity using the Android Studio template, this created an activity.xml and also a content.xml which is included on the activity.xml who has a NestedScrollView into which I've added a ListView feed from an adapter, at first…

Balibrera
- 185
- 2
- 7
5
votes
3 answers
Recyclerview with inside nested scrollview?
I am using multiple View-holder inside recycler which placed inside nested scroll view,There is a change in Natural behaviour of onBindViewHolder() Recycler view because of Nested Scroll,getItemViewType() all items are called inside…

appukrb
- 1,507
- 4
- 24
- 53
5
votes
1 answer
Nested Scrollview + Recycler View
I have a layout which has a collapsable image view, along with the GridView in the layout, and many more things in the UI . But the screen is scrolling upto the image scroll, that is it scrolls up only till the header image is not visible. After…

Gaurav Arora
- 8,282
- 21
- 88
- 143