Skip to content

A project that fetches a random quote from an API. The project uses the Single source of Truth principle in fetching and saving data.

Notifications You must be signed in to change notification settings

Afolayan/RandomQuotes

Repository files navigation

Random Quotes Android App

Brief Overview

This is a sample project to illustrate some interesting android concepts. The random quotes are fetched from https://api.quotable.io/quotes/random.

Language

  • Kotlin

Architecture

Android Model-View-ViewModel (MVVM) design architecture was used with the Repository pattern. This is to prevent tight-coupling of components (allowing for proper separation of concerns) thereby favoring testability, easier code maintenance and extensibility as the code base grows.

Libraries Used

  • Hilt - For Dependency Injection
  • Coroutines - For Background Tasks
  • Jetpack Compose - For UI

Screenshot

App screenshot

About

A project that fetches a random quote from an API. The project uses the Single source of Truth principle in fetching and saving data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages