An Android app demonstrating advanced pagination patterns with Jetpack Paging 3, backed by the Unsplash photo API.
- Paging3 with
RemoteMediatorfor network + local database pagination - PagingSource for pure network paging
- MVVM Clean Architecture — separation of data, domain, and presentation layers
- Jetpack Compose UI with lazy loading
| Technology | Purpose |
|---|---|
| Kotlin | Primary language |
| Paging 3 | Pagination library |
| RemoteMediator | Network + DB pagination |
| Room | Local cache |
| Retrofit | Network layer |
| Hilt | Dependency injection |
| Jetpack Compose | UI |
| MVVM Clean Architecture | App architecture |
- Register at unsplash.com/developers
- Create a new app and copy your Access Key
- Add to
local.properties:UNSPLASH_ACCESS_KEY=your_key_here
UI (Compose) ← ViewModel ← Repository ← RemoteMediator + PagingSource
↕
Room DB / Retrofit
- Clone the repo:
git clone https://github.com/santhoshj001/Instagram-Clone.git
- Add your Unsplash API key to
local.properties - Open in Android Studio and run
MIT — see LICENSE