mirror of
https://github.com/hmalik144/EasyCC_Master.git
synced 2025-12-10 03:05:29 +00:00
4b8f2944cb125cab775a9e21b95ba6e7a26e133f
* Issue resolved Took 2 hours 5 minutes * Issue resolved with unit tests Took 1 hour 31 minutes
Easy CC
A simple and incredibily lightweight currency converter. I created this app for private use but when it prevented me getting ripped off in Bali. I realised this can benefit many people. This app also includes a home-screen widget which displays the current currency rate of your choice, which updates every 3 hours.
Requirements
Minimum android SDK version 21, Android 5.0.0 (Lollipop) Permissions : Internet, Network State
Features
- Simple convert as you type
- 155 different currencies to choose from (inc. Bitcoin)
- Simple homescreen widget of your conversion pair choice
Architectural Pattern
MVVM - Model View Viewmodel SOLID coding
Jetpack
Unit tests
- Respository Unit test (Networkings)
- Repository Unit test (Storage)
- Mainactivity viewmodel test
- Widget configure viewmodel test
Integration tests
Test case one
- MainActivity UI test
Built With
- Kodein - Painless Kotlin Dependency Injection
- Retrofit - Type-safe HTTP client for Android and Java by Square, Inc
- Mokito - Most popular Mocking framework for unit tests written in Java
- Mokito-kotlin - Using Mockito with Kotlin
Submitted by
- Haider Malik - Android Developer
Description
Languages
Kotlin
100%