Comments (16)
+1 for this issue. Is there a status update for this? Could you provide steps on how to implement custom layout manager ?
from recyclerlistview.
Staggered in one dimension for now. Just return relevant dimensions in layout provider and it'll work. Did you try this?
from recyclerlistview.
Masonry cannot be done with current layout manager. You can however write your own. We will be opening it up soon anyway. Would you like to?
from recyclerlistview.
Please provide solution, How can I achieve staggered RecyclerListView .
from recyclerlistview.
I Tried but I want staggered grid as masonry layout. ex. Pinterest. With the changes in layout provider I am not able achieve this.
Please prefer this image https://cdn-images-1.medium.com/max/2000/1*ksTMskNDTgzgt07XpmYh2w.png
from recyclerlistview.
Sure. Thanks for your reply. I have to move another library project. BTW great library. Please provide support for masonry layout soon.
from recyclerlistview.
Great.. We'll try to do that soon.
from recyclerlistview.
Check this file https://github.com/Flipkart/recyclerlistview/blob/master/src/core/layoutmanager/LayoutManager.ts
All the public methods here except getOffsetForIndex
need to be implemented by you. If any of you can take it up I can go ahead and start opening up layout managers externally and provide documentation. Masonry will be a good start.
from recyclerlistview.
Hey @naqvitalha I have created a pull request , please check and let me know, although I hove not tested it, would be good to have unit tests.
from recyclerlistview.
@ckdvivedi can u please inform which library you used for masonry?
from recyclerlistview.
Hi, is this already solved?
I've checked #175 hasn't been merged.
Otherwise I'm planning to add masonry layout for RecyclerListView.
from recyclerlistview.
Hi, is this already solved?
I've checked #175 hasn't been merged.Otherwise I'm planning to add masonry layout for RecyclerListView.
Could you share with us?
from recyclerlistview.
@raulclaudino It's already in pull request, #526
from recyclerlistview.
@raulclaudino It's already in pull request, #526
I tried to implement, but I couldn't. The console says that the /dist folder does not exist. Need to compile this folder? Can you give me any instructions on how to run?
Thank you!
from recyclerlistview.
@raulclaudino It's all on package.json "scripts":
section.
Just run `npm run clean', and then followed by 'npm run build'.
It will build '/dist' folder.
It calls bash script so make sure you're on mac or linux or windows 10 wsl.
If you're on older windows just examine '/scripts/build.sh' and run its windows counterpart.
For example :
npx tslint 'src/**/*.{ts,tsx}'
cd src
npx file-directives REACT-NATIVE,RELEASE
cd..
npx tsc --outDir dist/reactnative
and so on.
from recyclerlistview.
Would it be easy to apply LayoutManager
code from MasonryList
in FlashList? @naqvitalha
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
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.