Which approach should I use in React Native where I need to implement a horizontal scroll like collection view? The look and feel are needed to be exactly similar to the native iOS UICollectionView.
You can use both FlatList and ScrollView. You just need to style your list in a correct way, for example, something like this to create a grid. Check UIExplorer to see how basic components work.
You can use the ListView component, make sure you set the horizontal property.
<ListView horizontal={true}
style={{flex:1}}
dataSource={this.state.dataSource}
renderRow={(data) => <Row/>}/>
Also, you can follow this link for reusable cells.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With