Skip to content

AlbertVilaCalvo/Android-Coupons-Kotlin-Coroutines

Repository files navigation

Coupons Android app

Coupons is a simple native Android app that I did for a job interview process.

The app is built entirely with Kotlin. It uses Coroutines for asynchronous work, Koin for Dependency Injection and Coil to load images.

There are unit tests for one Presenter and one Use Case, using JUnit and Mockito-Kotlin.

It has 2 screens. The main screen shows a list of coupons, and by clicking a coupon on the list you go to the detail screen for that coupon.

Coupons are retrieved from a fake API and cached in-memory once obtained.

You can activate and deactivate a coupon by clicking a button, which also hits the fake API and updates the coupons cached in-memory.

Screenshots

Main screen - CouponListActivity

Main screen


Coupon detail screen - CouponDetailActivity

Coupon detail screen

About

A simple Android app that I did for a job interview process, using Kotlin, Coroutines and Koin. Unit tests with JUnit.

Topics

Resources

Stars

Watchers

Forks