Desipe is a simple app listing a few Indian recipes, created to demonstrate some of the commonly used libraries in Android development.
The release APK can be downloaded from here.
I've used Google recommended app architecture following Model-View-ViewModel
(MVVM) architecture, exposing PresentationModel
out from the ViewModel
wrapped in LiveData
to updated the UI in a lifecycle aware manner.
UI:
π AndroidX libraries (Core/AppCompat/ConstraintLayout/RecyclerView)
π Material Design
Transitions:
π Jetpack Navigation
Threading:
π Kotlin Coroutine
Dependency Injection:
π Dagger-Hilt
SQLite:
π Room Database
Image loading/animations:
π Coil-Kt
π Lottie
HTTP Operations:
π Retrofit
π Okhttp
JSON serialization/deserialization:
π Moshi
Mocking/Spying test objects:
π Mockk
Data is a dummy set of JSON and images hosted on a github page. Most of the content is still dummy. Please feel free to clone this repo and add/modify content under the recipes
folder.
Support for Dark Theme is available. However, there is a small bug for Android 10 and above that the theme doesn't get updated when user selects Follow System from the bottom sheet. Upon killing the app once and returning back, the theme gets updated.
π οΈ Set Up CI using either Github Workflow or CircleCI
π οΈ Add lint support
π οΈ Write UI tests and increase test coverage.
I made a humble attempt to create the app icon by myself π© using Inkscape a free and open source vector graphics editor available across MacOS, Windows and Linux.
MIT License
Copyright (c) 2020 Pinaki Acharya
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.