Open iballan opened 7 years ago
@iballan You could add your own decorator as a header and change its view position accordingly to the scroll position with an e.g. linear interpolator.
@rok5ek is there any example about it ? i have no good idea about recycler views indeed thats why i used this library
@iballan You could take a look at this library for header https://github.com/blipinsk/RecyclerViewHeader so you could modify it a bit for parallax purposes. Just add a scroll listener and change the header content position according to that. I think this class would also help you...its already integrated in advanced recyclerView https://github.com/h6ah4i/android-advancedrecyclerview/blob/master/library/src/main/java/com/h6ah4i/android/widget/advrecyclerview/headerfooter/AbstractHeaderFooterWrapperAdapter.java
I would like to use this library with parallax header as well. Is there any way to make the header as a parallax header in the current library version ?