This is an assignment app for Caper AI. This app shows a list of products locally saved in room database to a user. User can tap on a product and then a QR code would be shown. User can tap on QR code a single time to add a single quantity item and can also tap multiple times to add multiple quantity items. All data is saved in local database including user cart items. User can also remove items from the cart. A total price of all the cart items would be shown at the bottom.

This app uses MVVM architecture and the following libraries:

  • Navigation Component with SafeArgs
  • Hilt for Dependency Injection
  • Room for database
  • Coil for image loading
  • ViewModel and LiveData
  • Coroutine with Flow
  • Material Design Library


View Github