Importing and exploring the Repositories App
The Repositories App project is a simple application that displays a list of repositories obtained from the GitHub Search API. This project is a simplified version of a Compose-based application that incorporates only a few concepts from the previous chapters as it tries to be a good candidate for implementing pagination with the Jetpack Paging library rather than being a fully-fledged sample app that applies all the concepts taught in the book.
Nevertheless, we will see how the Repositories App follows a Model-View-ViewModel (MVVM) presentation pattern, uses Retrofit to obtain data, a ViewModel
class to hold state and present data, coroutines for the asynchronous (async) operation of obtaining data from the server, and Compose for the UI layer.
Let's start off by importing this project into Android Studio, as follows:
- Navigate to the GitHub repository page of the book, located at https://github.com/PacktPublishing/Kickstart...