Chapter    10

Currencies Lab: Part 2

In the previous chapter, you fetched the active currency codes by using an AsyncTask in the SplashActivity. You loaded the currency codes into a bundle and attached that bundle to an intent with a destination of MainActivity. Finally, you dispatched the intent to the Android OS.

In this chapter, you’ll continue to develop the Currencies app and focus exclusively on the functionality of MainActivity to complete the app. You’ll use an ArrayAdapter to bind an array of strings to spinners. You’ll use Android Studio to delegate the handling of views’ behavior to the enclosing activity. You’ll also learn how to use the shared preferences as well as assets. You’ll learn about concurrency in Android and specifically ...

Get Learn Android Studio: Build Android Apps Quickly and Effectively 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.