Coroutines and Flow
This chapter introduces you to background operations and data manipulations with Coroutines and Flow. You’ll also learn how to manipulate and display the data using LiveData
transformations and Kotlin Flow operators.
By the end of this chapter, you will be able to use Coroutines and Flow to manage network calls in the background. You will also be able to manipulate data with LiveData
transformations and Flow operators.
You learned the basics of Android app development and implemented features such as RecyclerViews, notifications, fetching data from web services, and services. You also gained skills in the best practices for testing and persisting data. In the previous chapter, you learned about dependency injection. Now, you will learn about background operations and data manipulation.
Some Android applications work on their own. However, most apps would need a backend server to retrieve or process data. These operations may take a while, depending...