swapnilkadlag / splash

An unofficial Unsplash client for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Splash (WIP)

Splash demonstrates modern Android development with Hilt, Coroutines, Flow, Jetpack (Room, ViewModel), and Material Design based on MVVM architecture.


Tech stack & Open-source libraries

  • Minimum SDK level 21
  • Modularized with buildSrc & gradle.kts support
  • Kotlin based, Coroutines + Flow for asynchronous.
  • Hilt for dependency injection.
  • Jetpack
    • Lifecycle - Observe Android lifecycles and handle UI states upon the lifecycle changes.
    • ViewModel - Manages UI-related data holder and lifecycle aware. Allows data to survive configuration changes such as screen rotations.
    • ViewBinding - Binds UI components which allows you to more easily write code that interacts with views.
    • Room Persistence - Constructs Database by providing an abstraction layer over SQLite to allow fluent database access.
    • Paging - Load infinite lists of data.
  • Architecture
    • MVVM Architecture (View - DataBinding - ViewModel - Model)
    • Repository Pattern
  • Retrofit2 & OkHttp3 - Construct the REST APIs.
  • Moshi - A modern JSON library for Kotlin and Java.
  • Glide,
  • Material-Components - Material design components for building ripple animation, and CardView.
  • LeakCanary - Memory Leaks Detection

Architecture

Splash is based on the MVVM architecture and the Repository pattern.

architecture

Open API

Splash is using the Unsplash API for constructing RESTful API.
It provides a RESTful API interface to thousands of free images.

License

Designed and developed by 2020 swapnilkadlag (Swapnil Kadlag)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

An unofficial Unsplash client for Android

License:Apache License 2.0


Languages

Language:Kotlin 100.0%