Skip to content

A persistent room database with kotlin co-routines support using koin dependency injection.

License

Notifications You must be signed in to change notification settings

yash786agg/RoomKoin

Repository files navigation

RoomKoin

This application makes offline records of Birds which includes the name of the species, rarity, notes, and timestamp. Which we are storing with the help of the Android JetPack Room Database. Code structure includes 2 Classes one is to list the data and second is used to store the bird's records. App Structure is developed by keeping in mind that, this app can be extended to provide support for Network API calls easily.

Demo

RoomKoin

Languages, libraries and tools used

Above Features are used to make code simple, generic, understandable, clean and easily maintainable for future development.Especially Koin for dependency injection and Room Persistence Library for offline data Storage.

Automated tests

To run the test you must connect to real device or an emulator then you can choose in one of the following ways:

  1. To run a single test, open the Project window, and then right-click a test and click Run.

Automated tests

Then Click

Automated tests

  1. To run all tests in a directory, right-click on the directory and select Run tests

Automated tests

Then Click

Automated tests

Running and Building the application

You can run the app on a real device or an emulator.

Prerequisites

  • Android Studio 3.5
  • Gradle version 3.5.1
  • Kotlin version 1.3.50
  • Android Device with USB Debugging Enabled

Built With

  • Android Studio - The Official IDE for Android
  • Kotlin - Language used to build the application
  • Gradle - Build tool for Android Studio

Thanks for reading this repo. Be sure to click ★ below to recommend this repo if you found it helpful. It means a lot to me.

For more about programming, follow me on Medium

Also, Let’s become friends on Linkedin