Questions tagged [nestedscrollview]
308 questions
69
votes
2 answers
RecyclerView does not Recycling Views when use it inside NestedScrollView
I'm using RecyclerView inside NestedScrollView. Also i set setNestedScrollingEnabled to false for recyclerview
to support lower API
ViewCompat.setNestedScrollingEnabled(mRecyclerView, false);
Now! When user scrolled the view every thing seems okay,…

MAY3AM
- 1,182
- 3
- 17
- 42
65
votes
2 answers
How to disable scrolling of NestedScrollView&CollapsingToolbarLayout, for example when there is no more content below?
Background
I try to add the same functionality as shown on many apps, where the upper area of the screen shrinks&expands according to the scrolled content.
For this, I use Google's design library, as shown on the CheeseSquare sample.
The…

android developer
- 114,585
- 152
- 739
- 1,270
62
votes
5 answers
NestedScrollView scroll down itself when content is fills
I have xml, which consits of DrawerLayout, CoordinatorLayout with custom views, AppBarLayout, NestedScrollView.
Problem: When content in NestedtScrollView fills, NestedtScrollView scrolls down itself.
All researches like scrollView.setScrollY(0) or…

Ognev Zair
- 1,626
- 1
- 13
- 17
61
votes
4 answers
How to put RecyclerView inside NestedScrollView?
With creation of NestedScrollView you can put scrolling view inside another scrolling view as long as those implement NestedScrollingChild and NestedScrollingParent correctly.
(This is not bad design pattern "Ian Lake (from Google) actually…

mmlooloo
- 18,937
- 5
- 45
- 64
59
votes
5 answers
NestedScrollview won't start from top
I have a Recyclerview in a NestedScrollview.. everything is working fine except one thig. I have total three view in NestedScrollview First two are LinearLayout then Recyclerview. when i run my app the Activity don't show top two layout it starts…

Suvro
- 691
- 1
- 6
- 8
41
votes
10 answers
ListView not expanding inside NestedScrollView
I am using CoordinatorLayout in my activity page. In that there is ListView below the app bar. But its not working when I use ListView instead of NestedScrollView. And if I put ListView inside NestedScrollView, ListView is not expanding

Bincy Baby
- 3,941
- 5
- 36
- 62
36
votes
4 answers
NestedScrollView scrolls to top on Recyclerview resized
I have a NestedScrollView containing a LinearLayout and a RecyclerView (both inside a RelativeLayout).

kevings14
- 1,986
- 2
- 18
- 19
27
votes
5 answers
how to implement a sliverAppBar with a tabBar
the flutter document show a demo for SliverAppBar + TabBar + TabBarView with ListView use NestedScrollView, and it's a bit complex, so I wonder is there a simply and clear way to implement it. I tried this:
CustomScrollView
slivers:
…

walker
- 627
- 1
- 6
- 19
27
votes
4 answers
Unable to scroll AppBarLayout and collapsing toolbar with NestedScrollView smoothly
I am working on one android app in which I am using CoordinatorLayout, AppBarLayout and CollapsingToolbarLayout to use the collapse toolbar functionality.
I am using NestedScrollView in layout to expand and collapse AppBarLayout in same layout. When…

Kushminder Garg
- 518
- 1
- 6
- 14
27
votes
7 answers
Collapsing toolbar and nestedscrollview not scrolling smoothly
Nested scroll view scrolls smoothly on scrolling down but on scroll up it is sluggish.Collapsing toolbar(with an image view and framelayout) upon scrolling up doesn't renders its content(remains blank). I have tried every flag in collapsing…

CP Nagar
- 271
- 1
- 3
- 5
23
votes
2 answers
How to show the Scrollbar in a NestedScrollView
Hey i implemented a NestedScrollView in an Activity, but i cant show the scrollbar like i do in a ScrollView, can you guys.
How can I show it?

Kokusho
- 1,113
- 1
- 9
- 14
23
votes
3 answers
NestedScrollView and Horizontal RecyclerView Smooth Scrolling
I have a single vertical nestedscrollview that contains a bunch of recyclerview with a horizontal layoutmanager setup. The idea is pretty similar to how the new google play store looks. I'm able to make it functional but it isn't smooth at all. Here…

falc0nit3
- 999
- 2
- 8
- 16
19
votes
7 answers
NestedScrollView wont't scroll to the end when used with CollapsingToolbarLayout
I want to use NestedScrollView with CollapsingToolbarLayout. In NestedScrollView there is really long content. Unfortunately I can't scroll to the end. Some of this long content is cut. What is strange when I turn screen, scrolling works fine and…

Aleksander Mielczarek
- 2,787
- 1
- 24
- 43
18
votes
4 answers
NestedScrollView issue, throwing error when switching between two screens
I have some problems with NestedScrollView. I have implemented PageView with BottomNavigationBar and sometimes, when I am switch between two screens, I got this error:
'package:flutter/src/widgets/nested_scroll_view.dart': Failed assertion: line…

Kamzik
- 181
- 1
- 3
18
votes
2 answers
NestedScrollView fling stopping bug on Nougat (API 25)
I have a strange issue with NestedScrollView fling on Nexus 5x (7.1.2) and Google Pixel (7.1.1). On other OS versions it works OK.
Fling animation sometimes stops right after lifting up a finger. It stucks and the next few flings may be stopping as…

Dimezis
- 1,541
- 11
- 24