Skip to content

This is a dictionary application that will give you the result from https://api.dictionaryapi.dev/ and also save data in the cache using RoomDb so that we can access it offline.

Notifications You must be signed in to change notification settings

YashNagayach/Dictionary

Repository files navigation

Clean-MVVM-DictionaryApp

An Android application built using Clean + MVVM architecture.

Components used in the app.

  • Kotlin - As a programming language.
  • Compose - To make UI.
  • Flow - A suspending function asynchronously returns a single value, but how can we return multiple asynchronously computed values? This is where Kotlin Flows come in.
  • ViewModel - To manage the UI-related data
  • Retrofit - For making network calls.
  • Hilt - For dependency injection.
  • Room database - To cache the response for offline access.

Description

This is a dictionary application that will give you the result from https://dictionaryapi.dev/ and also save data in the cache using RoomDb so that we can access it offline.

Architecture

Clean MVVM Architecture

Steps to build the app

  • Clone or Download the zip.
  • Simply import into Android Studio.
  • Build and run the app.

Thank you!

About

This is a dictionary application that will give you the result from https://api.dictionaryapi.dev/ and also save data in the cache using RoomDb so that we can access it offline.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages