Join Samer Buna for an in-depth discussion in this video Using FlatList with API data, part of React Native Essential Training.
- [Instructor] When we started this project,…I forgot to add ESLint,…so I just did that off camera, and I'm going to go ahead…and fix the ESLint problems that we have.…So we're not using previous state in here.…I can actually simplify this…since we're not using the previous state to just that.…Looking good.…And DealList, we're not using StyleSheet,…but we will, so I'm just going to keep it.…I'll create a styles object here from StyleSheet.create.…
And in here, I'll introduce a list property,…so this is the main list.…I'll just give it a background color for now,…very light gray, just to make sure things are working.…And I'll give this list to the View,…so styles.list.…Make sure this is working.…Perfect.…This is our view right here,…so we want to definitely make this view take the full screen,…so let's do flex: 1.…
Maybe we'll give it a width of 100%.…And to make this text not overlap…with the controls of the iPhone,…we'll just give it a paddingTop…of say of 50.…Excellent.…So we have introduced a new property…for this component called deals.…
- Hello React Native on iOS and Android
- Styling React Native components
- Platform APIs
- Building a simple game app and a data-driven app
- Using the Fetch API
- Creating an animation loop
- Testing on Android
- Changing an app logo and a splash screen
- Using TestFlight with internal testers
Skill Level Intermediate
1. Getting Started
2. React Native Fundamentals
Hello React Native on iOS5m 42s
3. Building a Simple Game App
4. Building a Data-driven App
5. Animation and Gesture Control
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.