Search Screen | Search Results |
---|---|
This is a simple image search engine application that searches images of all kinds with the help of REST API. Images together with usernames and likes are searched and displayed in a Recycleview. This was accomplished with the aid of libraries like Glide, Retrofit, JetPacack suite libraries.....
We will search any image name and display a list of them in the recyclerview, instead of loading all results at once into the recycler view we will use the paging three library from android jetpack to implement pagination. This will enable us to load the results in small pages which looks like a huge list and the user wouldn't really notice anything, it saves system resources and we don't have to download so much data at one.
Glide to load the images, Retrofit with Coroutines to communicate with the Rest API , paging three will take care of launching these coroutines, we will just declare some suspend functions.
Will will use a Navigation component to navigate from the gallay fragment with the recyclerview to the detail fragment.
View Binding to access our views in compile time safe way.
Dagger Hilt is a library that belongs to jetpack built on top of dagger2 and makes dagger2 easier.Dagger2 is a dependency injection library.
MVVM is the Architecture used in the project.
Intrumentation Test with JUnit and UI Test with Espresso