/RectangleCounter

Qwello take home task.

Primary LanguageKotlin

Rectangle Counter

The home task received from Qwello GmbH.

Made with ❤️ in Azerbaijan.

Screenshots

Screenshot1 Screenshot2 Screenshot3 Screenshot4
Screenshot1 Screenshot2 Screenshot3 Screenshot4

Requirements:

  1. Android Studio v4.0.1 or up
  2. Kotlin v1.4.10 or up
  3. Java 8

Building

To build the project run either ./gradlew build (in Linux or Mac, or gradlew build in Windows) or click Rebuild Project option from Build menu in your IDE.

Arch

Service Locator pattern applied in the application. To do it I used Koin because of its simplicity. As you explore you'll see StateFlow used to show rectangle & selected items count in the UI.

More info

I took the logic from this source. The Python code was manually translated into Kotlin (by me of course). Due to it has several bugs, they fixed and applied.

Copyrights:

  1. App logo made by Freepik from Flaticon.