Comments (9)
Check extendedState
prop in v1.2.2.
from recyclerlistview.
We had a pretty similar problem, the page would not update until you went further on the magazine and then came back.
By passing our state to extendedState the problem was fixed, now it re renders properly!
extendedState={this.state}
from recyclerlistview.
rowHasChanged
passed to DataProvider
is for the same purpose. Any issues there?
from recyclerlistview.
It doesn't run the render function of the row I'm afraid. And I've even changed the row has changed to use lodash's deep equality check, but with no luck.
from recyclerlistview.
We've built multiple features where row data has changed and haven't any faced issues. This is basic functionality. Can you provide a quick repro on snack so that we can help you out?
from recyclerlistview.
Reopen is issue still remains. As long as you have relevant checks in rowHasChanged
this is a non issue.
from recyclerlistview.
I'll try to isolate the problem and let you know. Thanks for following up.
from recyclerlistview.
Check
extendedState
prop in v1.2.2.
thank you so much! I've been looking for this for a solid day
from recyclerlistview.
None of the above solutions work for me.
Here is my problem:
- I use Recycler list for displaying a list of items (say 1,2,3,4,5)
- When user deletes an item (say 1) i'm updating the dataProvider which is in local state. DataProvider in local state acts as the source for recycler list view
- Even after the state changes the view remains the same. In my case even after the user deletes 1 and the latest values in state are (2,3,4,5) but the all the 5 items are still displayed.
The recycler list view has the correct changes (ie 2,3,4,5) when i navigate to a different section of the app and come back though.
RowhasChanged /extended state solutions as suggested above don't work for me. Please help 🙏
from recyclerlistview.
Related Issues (20)
- forceNonDeterministicRendering is not working when using different View_Types
- The focused row index is different from onVisibleIndicesChanged HOT 1
- Support for multiple viewability config
- 🅱️ Horizontal List Bug (Layout Problem for height not updated correctly) HOT 1
- `testID` & `accessibilityLabel` properties are not supported on recyclerlistview and it's elements?
- numColumns BUG HOT 5
- can not hide the scroll bar HOT 1
- Internal length of list? HOT 1
- compile error
- Recycerlistview renderItem function is rendering half of the item
- How can i render kind of skeleton placeholder items instead of whitespaces/blank?
- TouchableHighlight object inside a RecyclerListView Losing Focus on fast key navigation with React Native TVOS
- How can I interact with the latest selected row?
- Glitch issue when use ScrollViewWithHeader with GridLayoutProvider HOT 1
- useBottomSheetDynamicSnapPoints is deprecated
- Somebody help me!!! /core/RecyclerListView.js: Property id of VariableDeclarator expected node to be of a type ["LVal"] but instead got "BooleanLiteral" HOT 2
- npm run build is failing HOT 3
- Web accessibility: focus order is wrong.
- contextProvider offset does not work in apps with StrictMode enabled
- New architecture support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recyclerlistview.