github-paging-hilt-retrofit
This repository contains a simple app that implements Dagger-Hilt in MVVM architecture, Retrofit using Kotlin.
The app has following packages:
- api : contains the Github retrofit service: searchRepos() and getUser()
- data : contains GitHubRepository: calls the GithubPagingSource. And GithubPagingSource which call the service.
- di: It contains the files required by Hilt
- models: contains data model for the view.
- ui: Activity with ViewModel and Adapter for displaying data.
[Tutorial for using Paging 3 with Flow] (https://medium.com/androiddevelopers/introduction-to-paging-3-0-in-the-mad-skills-series-648f77231121)