11 Implementing Android-specific components and APIs

This chapter covers

  • Using DrawerLayoutAndroid to create a side menu
  • Creating a native toolbar with ToolbarAndroid
  • Create paging views using ViewPagerAndroid
  • Create date/time pickers using DatePickerAndroid and TimePickerAndroid
  • Creating toasts using ToastAndroid

In this chapter, we’ll implement the most used Android-specific APIs and components, discuss their props and methods, and create examples that will mimic functionality and logic that will get you up to speed quickly. To see how these work, you’ll create a demo app with a menu, a toolbar, scrollable paging, a date picker, and a time picker. The app will also implement Android toasts. As you implement each of these features, you’ll ...

Get React Native in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.