ChristopherME/movies-android
关于
Android 实验项目,按功能使用 Android 库进行模块化,并采用单元测试、MVVM 和 MVI。
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Movies
Movies is a simple project to study and play with some android components, architecture and tools for Android development.
Tech Stack
This project uses feature modularization architecture. The movies feature module uses MVI as software design patter for presentation layer, and the actors feature module uses MVVM. You can checkout how was the migration from MVVM to MVI in this pull request.
Medium blogs
I write about the process of coding this project in the following blogs:
- Understanding MVVM
- Understanding and making unit & instrumented tests.
- The ABC of modularization
- Create a safe retrofit calls extension part I, II, & III
- Honest thoughts on Jetpack Navigation library in modularized projects
- Integrating Paging3
Development setup
You require the latest Android Studio 4.2 (stable channel) to be able to build the app. For the compose branch use the latest Android Studio on the canary channel.
Libraries
- Application entirely written in Kotlin
- Asynchronous processing using Coroutines
- Uses Koin for dependency injection
- Uses Github Actions
- Uses Paging3, see this PR.
- Uses JUnit4, Espresso, Fragment Tests among other libraries for unit & instrumented tests.
API keys
You need to supply API / client keys for the service the app uses.
Once you obtain the key, you can set them in your ~/local.properties:
# Get this from TMDb
tmdb.key=<insert>
📃 License
Copyright 2021 Christopher Elias
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
探索相关项目
加载中…