ksoichiro / Android-ObservableScrollView

Android library to observe scroll events on scrollable views.
http://ksoichiro.github.io/Android-ObservableScrollView/
Apache License 2.0
9.65k stars 2.06k forks source link

possible to achieve these with the library #265

Open madibalive opened 7 years ago

madibalive commented 7 years ago

title here

Been trying to create like for weeks, try onscrollChangeListener on mviewpager but it api 23+, i recently discovered this library, was i could any help ,directions to create the above layout.


approach 1
<CordinatorLayout>
     <AppBar>
        <Toolbar>
        <HeaderProfile> // i think 
        <Tabbar>
   </AppBar>
   <Viewpager> // use scroll to move headerprofle 

Approach 2
<CordinatorLayout>
     <AppBar>
        <Toolbar>

   </AppBar>
   <ScrollView>
       <HeaderProfile> // doesnt scroll at alll 
        <Tabbar>
        <Viewpager> // use scroll to move headerprofle 

Let me know if i should include my code, didnt it include because might too cluttered

also posted on stackoverflow -- [stackoverflow](http://stackoverflow.com/questions/39496091/how-to-implement-soundcloud-header-layout-for-profile)