Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/halilozel1903/unsplashexample

App πŸ“± using Dagger Hilt, Coroutines, ViewModel, Lifecycle, LiveData based on MVVM Architecture. πŸ› 
https://github.com/halilozel1903/unsplashexample

android-kotlin-example android-lifecycle android-livedata android-mvvm-architecture android-mvvm-coroutine android-viewmodel coil-kotlin coroutines-android dagger-hilt dagger2-android jetpack-android jetpack-components kotlin-android kotlin-coroutines mvvm-architecture photo-api photo-application retrofit2-kotlin unsplash-api viewmodel-livedata

Last synced: 4 days ago
JSON representation

App πŸ“± using Dagger Hilt, Coroutines, ViewModel, Lifecycle, LiveData based on MVVM Architecture. πŸ› 

Awesome Lists containing this project

README

        

### Unsplash πŸ‘€ Image API πŸ–Ό

![Screenshot](https://codersera.com/blog/wp-content/uploads/2021/03/learn-android-programming.png)

Unsplash Clone application; **Dagger Hilt**, **Coroutines**, **Lifecycle**, **LiveData**, **ViewModel**, **Retrofit**, **Coil** based on **MVVM** Architecture.

Photos taken from api are shown in the app. Image API: https://unsplash.com/developers

## Architecture πŸ›

**Model - View - ViewModel (MVVM)** is the industry recognized software architecture pattern that overcomes all drawbacks of MVP and MVC design patterns. MVVM suggests separating the data presentation logic(Views or UI) from the core business logic part of the application

![Screenshot](https://androidwave.com/wp-content/uploads/2019/05/mvvm-architecture-app-in-android.png)

## Libraries πŸ›  βš™οΈ
![Screenshot](https://anteelo.com/wp-content/uploads/2021/05/Android-libraries.jpg)
- [Kotlin](https://github.com/JetBrains/kotlin) -> The Kotlin Programming Language.
- [Retrofit](https://github.com/square/retrofit) -> A type-safe HTTP client for Android and the JVM.
- [OkHttp](https://github.com/square/okhttp) -> Square’s meticulous HTTP client for the JVM, Android, and GraalVM.
- [Coroutines](https://github.com/Kotlin/kotlinx.coroutines) -> Library support for Kotlin coroutines
- [Lifecycle](https://developer.android.com/jetpack/androidx/releases/lifecycle) -> Perform actions in response to a change in the lifecycle status of another component, such as activities and fragments.
- [Dagger Hilt](https://developer.android.com/training/dependency-injection/hilt-android) -> Hilt provides a standard way to incorporate Dagger dependency injection into an Android application.
- [LiveData](https://developer.android.com/topic/libraries/architecture/livedata) -> LiveData is an observable data holder class.
- [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel) -> ViewModel class is designed to store and manage UI-related data in a lifecycle conscious way.
- [Coil](https://github.com/coil-kt/coil) -> Image loading for Android backed by Kotlin Coroutines.

## Android πŸ“± Application Screens πŸ“Έ

## License ℹ️
```
MIT License

Copyright (c) 2023 Halil OZEL

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```