Giter Club home page Giter Club logo

react-native-realrecyclerview's Introduction

Real Android recycles RecyclerView/ListView

To fix react-native [ListView] renders all rows#499

Thanks for @talkol articles. I implement the android RecyclerView(react-native-RealRecyclerView)

How to use

  1. run this project

copy from another project react-native 0.39.0 version of the node_modules folders can be used.

  1. use RealRecyclerView component

copy My*.java &RealRecycler*.java files to your project;

setup UIImplementationProvider. ReactInstanceManager.Builder.setUIImplementationProvider(new MyUIImplementationProvider())


真正的 Android 回收复用 RecyclerView/ListView

解决 react-native [ListView] renders all rows#499 而不是复用listview item视图问题

使用方法

  1. 怎样跑这个实例

从其他项目拷贝react-native 0.39.0版本的node_modules文件夹既可使用.

  1. 怎样使用RealRecyclerView组件

拷贝 My*.java 和RealRecycler*.java 文件到您的项目;

 设置UIImplementationProvider:ReactInstanceManager.Builder.setUIImplementationProvider(new MyUIImplementationProvider())   详情见我的博文《react native Android 真正回收复用 RecyclerView/ListView

demo


Authors

droidwolf [email protected]

License

Apache License, Version 2.0

react-native-realrecyclerview's People

Contributors

gold-duo avatar

Watchers

 avatar

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.