Git Product home page Git Product logo

ukmiitb / currencyconverter Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 165 KB

This app is used to show converted rate for different currencies based on the input currency as per the actual realtime rates.

Kotlin 98.38% Java 1.62%
coroutines-android flow-android hilt-dependency-injection json-deserialization material-ui mutablestateflow mvvm-architecture retrofit2-coroutines room-persistence-library sharedstateflow

currencyconverter's Introduction

CurrencyConverter

This app is used to show converted rate for different currencies based on the input currency as per the actual realtime rates.
The API used for getting currency rates is https://openexchangerates.org/
To avoid overusage of hitting API endpoints, there is a inbuilt time restriction of 30 mins between 2 successful API call.

How to use

  1. On the launch of app, the app itself updates the rates if more than 30 mins has passed.
  2. There is a refresh button for manually updating the rates. This also follows the 30 mins restriction.
  3. On entering the amount & selecting the input currency, all the output currencies will automatically get updated in real time.

Android technologies implemented

  1. MVVM architecture
  2. Retrofit
  3. View Binding
  4. Material Theme
  5. Dependency Injection using Hilt
  6. Room DB for offline support
  7. Custom GSON Converter & JsonDeserializer
  8. Coroutines
  9. Flow
  10. MutableStates & SharedStates
  11. Unit Test for Coroutine, Flow, Retrofit Response

Demo of App

CurrencyConverter.mp4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.