Skip to content

Practice app will cover view pager, room database, custom calendar, piechart, nav-graph. etc..

License

Notifications You must be signed in to change notification settings

YapChenLeong/Inventoray-App

Repository files navigation

Inventory - Solution Code

Solution code for Android Basics in Kotlin. Codelab: Android Jetpack - Room.

Introduction

This app is an Inventory tracking app. Demos how to add, update, sell, and delete items from the local database. This app demonstrated the use of Android Jetpack component Room database.

The app also leverages ViewModel, LiveData, [Flow] (https://developer.android.com/kotlin/flow), View Binding, and Navigation with the SafeArgs plugin for parameter passing between fragments.

Screenshot 2023-05-03 at 6 48 04 PM Screenshot 2023-05-03 at 6 48 36 PMScreenshot 2023-05-03 at 6 48 19 PMScreenshot 2023-05-03 at 6 48 49 PM

Pre-requisites

You need to know:

  • How to create and use fragments.
  • How to navigate between fragments, and use safeArgs to pass data between fragments.
  • How to use architecture components including ViewModel, LiveData, and LiveData transformations.
  • How to use coroutines for long-running tasks.
  • RecyclerView and adapters
  • SQLite database and the SQLite query language

Getting Started

  1. Download and run the app.

About

Practice app will cover view pager, room database, custom calendar, piechart, nav-graph. etc..

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages