Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdalbem/shoppinglist
Shopping List is item listing application based on local database application performing CRUD operations.
https://github.com/pdalbem/shoppinglist
livedata repository room-persistence-library viewmodel
Last synced: 9 days ago
JSON representation
Shopping List is item listing application based on local database application performing CRUD operations.
- Host: GitHub
- URL: https://github.com/pdalbem/shoppinglist
- Owner: pdalbem
- Created: 2024-08-19T19:50:28.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-08-19T19:55:38.000Z (5 months ago)
- Last Synced: 2024-11-12T15:17:10.335Z (2 months ago)
- Topics: livedata, repository, room-persistence-library, viewmodel
- Language: Kotlin
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shopping List
**Shopping List** is item lising application based on local database application performing CRUD operations.## Features
* User can create and save shopping item persistently.
* User can update shopping item.
* User can delete bought shopping item.
* User can interact with the app with one hand as it is a single activity application, as all the operations can be done by user with single click.## Project structure (MVVM)
* adapters
* db
* entities
* di
* models
* repositories
* viewmodels## Android :heart: Koltin
* Generic Recycler View is used for listing the of items.
* Kotlin Coroutines are implemented to peroform the long running tasks of the IO operations like inserting, updating, deleting etc., the items from the Room Database.
* Koin framework is used for dependency injection.## Tech stack used
- [Room DB](https://developer.android.com/training/data-storage/room) - Local Persistant Database for Application.
- [Coroutines](https://developer.android.com/kotlin/coroutines) - For asynchronous operations.
- [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel) - Lifecycle aware library to manage data observing the lifecycle of licecycle owner.
- [LiveData](https://developer.android.com/topic/libraries/architecture/livedata) - State holder class to hold observable data.
- [Koin DI](https://insert-koin.io/docs/reference/koin-android/start) - Lightweight Dependency Injection Framework for Android.