Skip to content

Android App for counting things. Created in Kotlin with Clean Architecture and Dependency Injection with Koin.

Notifications You must be signed in to change notification settings

MarlonHndz/Cornershop_Counters_Test

Repository files navigation

Cornershop_Counters_Test

Android app for counting things.

Note:

Remember to update the IP where your server is located or launched in order to connect to it. You can make that change in the URLs file by changing the value of BASE_URL.

Technologies

Libraries

  • Retrofit: Requests to the server
  • Gson: Map responses from requests
  • Android ViewModels: Store and manage UI-related data
  • Android LiveData: UI updates from ViewModel to Activity/Fragment
  • Jetpack Navigation: Navigation through the screens
  • Koin: Dependency injection
  • Room: Local database

Background Strategy:

  • Kotlin Coroutines

Code Quiality

  • Code Style: Added task using ktlint to keep a good code styel. The code style task is run always before the build task.

  • Unit Testing: Created unit tests for the following modules using Mockito and Junit.

    • data module
    • remotedatasource module
    • domain module

View retrieval strategy

I'm using Android DataBinding and View Binding

TODO

  • Instrumentation test: Created instrumentation test for testing the Room database in localdatasource module.

Architecture

  • Using Clean Architechture for the whole application and using MVVM for the presentation layer. CleanArch

Evidence

  • Here's a video using the app
device-2022-03-16-003616.mp4

About

Android App for counting things. Created in Kotlin with Clean Architecture and Dependency Injection with Koin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages