What's alternative to 'AppBarLayout$ScrollingViewBehavior' in AndroidX?
I found the solution.
The layout_behavior
line must be replace with this:
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
make sure 'material' dependency exists in build.gradle:
implementation 'com.google.android.material:material:1.2.1'