O'Reilly logo

React Native By Example by Richard Kho

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Android modifications

For Android support, we want to do the following things to our code base:

  • Import the react-native-vector-icons library via Gradle
  • Swap out the TabBarIOS component for an Android-based solution using the DrawerLayoutAndroid and ToolbarAndroid components to create a navigation bar that contains a drawer that slides out to toggle between the current and previous months' expenses
  • Replace any NavigatorIOS instances with Navigator
  • Remove ProgressViewIOS
  • Remove the ExpandableCell components in AddExpensesModal and replace DatePickerIOS with DatePickerAndroid
  • Add any Android-specific files to components that require them

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required