henrytao-me / smooth-app-bar-layout

Smooth version of Google Support Design AppBarLayout
Apache License 2.0
1.77k stars 240 forks source link

NestedScrollView fling issue #197

Closed smelfungus closed 9 months ago

smelfungus commented 7 years ago

Hi there! Seems like there is an open Android issue related to fling stucking with NestedScrollView on top Android versions. There are some workaronds here, I'll attach all the related links. Is it possible for SmoothAppBarLayout to handle not the exact NestedScrollView inheritor but something that extends or implements ScrollView/NestedScrollingChild/NestedScrollingParent/ScrollingView to allow custom implementations like this one: https://github.com/Dimezis/FlingableNestedScrollView Related issues: https://issuetracker.google.com/issues/37138918 http://stackoverflow.com/questions/42783030/nestedscrollview-fling-stopping-bug-on-nougat-api-25

henrytao-me commented 7 years ago

I will look into that issue and let you know soon.

smelfungus commented 7 years ago

Just tried to implement ObservableScrollingView inheritor for BaseBehavior and it is working fine as far as I can see. Will be able to make a PR after some polish if there is no free time, thank you.