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

Porting to Android

The Android modifications we will make for this app are similar to the changes made for Expenses, which will be discussed later in Chapter 9, Additional React Native Components. The modifications we are making for Friends is as follows:

  • Swapping out TabBarIOS for DrawerLayoutAndroid and ToolbarAndroid
  • Creating Drawer and DrawerRow components to support DrawerLayoutAndroid
  • Using Navigator in the root-level index.android.js file
  • Creating an Android-specific version of the App component
  • Updating FeedList for Android-specific styling
  • Modifying FeedListRow to support Android navigation
  • Adding BackAndroid and Navigator support to PostView
In-depth explanations for DrawerLayoutAndroid and ToolbarAndroid can be found in Chapter ...

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