henrytao-me / smooth-app-bar-layout

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

verticalOffset is not correct issue #206

Open BruceHwang opened 7 years ago

BruceHwang commented 7 years ago

Sometimes verticalOffset is not correct with getTotalScrollRange So I use extends Behavior and change this source please change this I can not English well. So I can not explain in English It's Translate

This is translator in google : Often, the getTatalScrollRange value of AppBarLayout is not equal to the getMinOffset value, indicating that it will not move to the end. As a result, the verticalOffset value of the OnOffsetChangedListener does not match the getTotalScrollRange value even though the scroll has been moved to the end. So there are a lot of problems in creating my app. After correcting as above, it is correct operation. Please consider modifying