A simple android app that shows your transactions. In this solution, the following needs to be demonstrated
- Fix the TransactionViewModel.getAllTransactions(), you can use the AppExecutors in money.nala.pay.interview.executers
- Show list header view (li_transaction_header.xml) to the top of Transactions List
- Add action to open a new screen on transaction click and the show/hide transaction balance on header show/hide click
- How would you localize the app
- How to support RTL support for Arabic
- Enrich unit tests for toSafeDouble() in StringUtilsTests and add a couple of test cases for formatAmountCommas()
This project brings to table set of best practices, tools, and solutions:
- 100% Kotlin
- Model-View-View Model Architecture
- Android Jetpack
- Testing
- Dependency Injection
- Material design
This project takes advantage of many popular libraries and tools of the Android ecosystem. Most of the libraries are in the stable version.
-
Tech-stack
- Kotlin + Coroutines - perform background operations
- KOIN - dependency injection
- Jetpack
- Stetho - application debugging tool - available on debug build only!!!
-
Architecture
- MVVM - application level
- Android Architecture components (ViewModel, LiveData, SafeArgs plugin)
-
Tests
There are a few ways to open this project.
- Android Studio -> File -> New -> From Version control -> Git
- Enter
https://github.com/jumaallan/nala-money.git
into URL field
- Run
git clone https://github.com/jumaallan/nala-money.git
- Android Studio -> File -> Open
MIT License
Copyright (c) 2020 Droiders Cage
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 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.