‫Hello, my friends.
‫And welcome to the last part of this project.
‫After we have added successfully the Internet permissions to the manifest and since we have it specified
‫for this class, the movie app as health Android app, if we run the app, it will give us an error
‫indicating there is no specification in the Android manifest and there is an error.
‫So Health App activity must be attached to health annotation Android App Application.
‫Did you forget to specify your applications class name in your manifest?
‫Yes.
‫So how to solve this error?
‫We go to the manifest here and it's as indicated here, we need to specify the application's name inside
‫the application tag and using the Android name and here are the attributes.
‫So we put Android name and what is the name of the class?
‫With that we have annotated it as a health Android app.
‫So it is a dot movie app.
‫Okay, this is that thing that we need to put inside the manifest.
‫Another thing that I should remember you to add here and we have missed it, interview model is like
‫these two dependencies because we have added and used the view model with Kate, the X with Kotlin annotations
‫and abbreviations, and we need to add that extension here.
‫So this is their last and this is their final use of the garage, though, and these are the libraries
‫that we have used there atrophied our s java three paging library, our three support health dagger
‫glide lifecycle and the View Model.
‫Now we click on Sync Now and let's run the app on our emulator now and here we go.
‫This is our application.
‫So if we go and see our movies.
‫Scroll down the movies and this is a loading screen and they are scrolling down.
‫So if you see guys, we are getting all the movies according to the pages.
‫So if we scroll down so no more, more and more pages are up and okay, so according to the requested
‫thing they requested data of from that user, we are fetching the data from the server.
‫We are not getting all the server data.
‫We are getting only like for this example like the page number seven.
‫Okay, so the page number seven, page number, it is not loaded and not fetched until we scroll down.
‫You see this is page number eight, for example, this page number nine, page number ten.
‫So according to that, we are fetching it from there.
‫From the API and the server according to paging requests.
‫So this is the use of the paging library.
‫This is very important because we don't need to specify all and get all the data from the server.
‫We are getting the data according to the pages.
‫We also use that view model and the MVP amp.
‫Also, we have used the retrofit to fetch that data.
‫We have used the health dagger to make dependency injections and prevent any errors.
‫And we have created also used our friend glide to display to image effectively.
‫Okay.
‫So this is very important project.
‫I hope you benefit from this project and I hope you support us by editing us five stars on on Udemy
‫and support us for for this course.
‫Also by sharing your with your friends in order to allow us make new and new tutorials every day.
‫So thank you, guys.
‫Hope to see you in.