Welcome back.
Now let's add a library that requests the permissions at runtime.
Search for accompanist permissions, which is a library provided by GitHub.
And it's a Google library a library which provides Android runtime permissions support for Jetpack Compose.
Also, you can go to Google I o permissions and scroll down to download and copy this line.
And the latest version is 0.37.3 and paste it here.
Change this version to 0.37.3.
Okay, this is the accompanist, which request permissions during runtime.
Another library is the animations.
So we need some animations uh for our application.
So implementation Android X dot compose dot animation.
And we need the animation library.
Then we need the coroutines and the ViewModel.
You can search Google for Viewmodels and for example here ViewModel Android dependency select lifecycle.
And here we have the libraries.
The latest version is 2.9.1.
Scroll down.
You can select the Groovy or Kotlin.
But since we are using DSL and Kotlin DSL, we need to copy this because we use the ViewModel utilities
for compose.
This is for a Kotlin KT and this is for compose.
So copy it.
Scroll down to here and let me add the view model.
Paste it.
We need the lifecycle version back to here.
Lifecycle version is 2.9.1.
And here we go.
This is the ViewModel sync.
Now let's add other libraries like coroutines.
So back to here search for coroutines coroutines Android SDK copy this implementation to here.
And here we go click sync now and here we go okay.
So in this video we added accompanist animation ViewModel and coroutines.
In the next video we're going to complete the latest steps.
And the last steps uh with with adding new dependencies held and retrofit.