danoz73 / RecyclerViewFastScroller

A Fast Scroller for the RecyclerView world!
Other
1.13k stars 211 forks source link

Not working with view pager fragments #57

Open aribhatt91 opened 8 years ago

1gravity commented 8 years ago

The fault seems to be on your side

liya7907 commented 7 years ago

@1gravity in my app,fragments with viewpager is not work ,Error : "java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.v7.widget.RecyclerView$LayoutManager android.support.v7.widget.RecyclerView.getLayoutManager()' on a null object reference" It does not seem to matter with the way of listener was set up.

abhishekgargx commented 6 years ago

@liya7907 there is no support for staggered or grid layout (as i found)... and one more thing is that , you inflating same_fragment.xml (which contains recycler view and fast scroller), in most of tabs, make sure that you connect fastscroller in every tab page of fragment which inflating the same_fragment.xml .... hope this will helps