Code Monkey home page Code Monkey logo

Comments (8)

muskeinsingh avatar muskeinsingh commented on May 27, 2024 1

Hey,

We are aware of the Null Pointer Exception here. We will be fixing it in a release soon. In the meanwhile, can you please make sure you mount the view after you have the data? That will help avoid the NPE while we roll out a fix in a few days.

Let us know if this helps. Thanks for the feedback :)

from recyclerlistview.

Fr1kki3 avatar Fr1kki3 commented on May 27, 2024

after moving all the components out of node_modules and putting some console logs in I found that this._layoutManager in VirtualRenderer is in fact undefined at this point

Adjusting the _processOnEndReached() in RecyclerListView to if (this.props.onEndReached && this._virtualRenderer && this._virtualRenderer.getLayoutManager()) from if (this.props.onEndReached && this._virtualRenderer) solved the problem. If this solution suites you could you please adjust it in the next update?

from recyclerlistview.

anshul1235 avatar anshul1235 commented on May 27, 2024

+1

from recyclerlistview.

anshul1235 avatar anshul1235 commented on May 27, 2024

happened to me when the value of dataprovider was changing when my screen loads.. Not just with empty or no data, but happens when render is called multiple times in same time

from recyclerlistview.

Fr1kki3 avatar Fr1kki3 commented on May 27, 2024

Good to know that you are aware of this bug and are working on it. Mounting view after fetching needed data is not always possible. Please let us know when the fix is rolled out then I will update the package and start using the package again rather than just the components.

from recyclerlistview.

naqvitalha avatar naqvitalha commented on May 27, 2024

Please try using version 1.2.0-beta.6 and see if solves the issue.

from recyclerlistview.

naqvitalha avatar naqvitalha commented on May 27, 2024

Fixed in v1.2.0

from recyclerlistview.

Fr1kki3 avatar Fr1kki3 commented on May 27, 2024

seems to be fixed yes thank you

from recyclerlistview.

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.