Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UICollectionView? #638

Closed
matth3wga0 opened this issue Apr 3, 2015 · 10 comments
Closed

UICollectionView? #638

matth3wga0 opened this issue Apr 3, 2015 · 10 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@matth3wga0
Copy link

Anyone consider to make UICollectionView available in React Native?

  • Implement in javascript based on ScrollView
  • Export native UICollectionView from UIKit

Which one is better?


And I'm wondering why wouldn't React Native support display: none, this style makes the current component been removed from the superView, and display:flex add it back, this maybe useful to reduce memory usage I think.

@vjeux
Copy link
Contributor

vjeux commented Apr 3, 2015

And I'm wondering why wouldn't React Native support display: none

You can just remove it from render to achieve the same effect and reduce memory usage no?

@matth3wga0
Copy link
Author

@vjeux StyleSheet provides a high level way, manipulating the DOM is mostly like the low level way to control the views stack. As usual stylesheet, display is most useful rules, so I think React Native should implement this to give developers more choices.

@ranyefet
Copy link

+1 for UICollectionView, any estimate when it might be available?

@vjeux
Copy link
Contributor

vjeux commented May 25, 2015

@ranyefet no one inside of Facebook is working on this right now and likely for the next few months. If you need this, I would encourage you to build it yourself or find someone to. The native component integration API should be all you need :)

@brentvatne
Copy link
Collaborator

@matthewga0 @ranyefet - if either of you would like to have a shot at this, ping me @notbrent in irc!

@matth3wga0
Copy link
Author

This one maybe works, but it's not the best solution for flex layout.
https://github.com/lucholaf/react-native-grid-view

@brentvatne
Copy link
Collaborator

@matthewga0 - thanks for sharing. Closing this issue - for now this will have to be a community-built module 😄

@ovr
Copy link
Contributor

ovr commented Jan 20, 2016

👍

@outaTiME
Copy link

+1

@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

8 participants