Giter Site home page Giter Site logo

Comments (3)

1gravity avatar 1gravity commented on August 16, 2024
  • works fine in my app with ViewPager and fragments
  • use addOnScrollListener instead of setOnScrollListener

The fault seems to be on your side

from recyclerviewfastscroller.

liya7907 avatar liya7907 commented on August 16, 2024

@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.

from recyclerviewfastscroller.

abhishekgargx avatar abhishekgargx commented on August 16, 2024

@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

from recyclerviewfastscroller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.