Skip to content

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

Notifications You must be signed in to change notification settings

halilozel1903/UnsplashExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

51 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Unsplash ๐Ÿ‘€ Image API ๐Ÿ–ผ

Screenshot

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

Libraries ๐Ÿ›  โš™๏ธ

Screenshot

  • Kotlin -> The Kotlin Programming Language.
  • Retrofit -> A type-safe HTTP client for Android and the JVM.
  • OkHttp -> Squareโ€™s meticulous HTTP client for the JVM, Android, and GraalVM.
  • Coroutines -> Library support for Kotlin coroutines
  • Lifecycle -> Perform actions in response to a change in the lifecycle status of another component, such as activities and fragments.
  • Dagger Hilt -> Hilt provides a standard way to incorporate Dagger dependency injection into an Android application.
  • LiveData -> LiveData is an observable data holder class.
  • ViewModel -> ViewModel class is designed to store and manage UI-related data in a lifecycle conscious way.
  • 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.