Advanced Jetpack Compose
In the previous chapter, you learned about architecture patterns such as MVVM. You now know how to improve the architecture of an app. Next, we will learn how to improve your applications with CompositionLocal
, side-effects, and animations to enhance your app’s look and feel.
This chapter will introduce you to advanced Jetpack Compose topics. It offers a description of passing data through the user interface (UI) tree using CompositionLocal
and the use of various side-effects in Jetpack Compose. You will also learn about animating Jetpack Compose Composable functions.
By the end of this chapter, you will be able to use CompositionLocal
and side-effects such as LaunchedEffect
, DisposableEffect
, and SideEffect
in your Jetpack Compose applications, as well as create animations using Jetpack Compose.
We will cover the following topics in this chapter:
- Using
CompositionLocal
- Using side-effects with Jetpack Compose
- Creating...