Giter Site home page Giter Site logo

seen2016 / mvvm-rhine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qingmei2/mvvm-architecture

0.0 1.0 0.0 2.16 MB

The MVVM Architecture in Android(MVVM+Jetpack的开发实践).

Home Page: https://juejin.im/post/5be7bbd9f265da61797458cf

Kotlin 100.00%

mvvm-rhine's Introduction

MVVM-Rhine

Android端 MVVM + Jetpack 架构组件的Github客户端。

使用MVVM尝试开发Github客户端及对编程的一些思考

English Document | 中文文档

通知

  • 如果编译遇到如下图的错误,请先参考下方【开始使用】,对项目进行配置:

出现这个问题的原因,最新版本的代码,需要开发者注册一个自己的OAuth Application,注册后,Github的API访问次数就能达到5000次/小时(之前的版本只有60次/小时),之前很多朋友反应在Debug过程中不够用,断点打了几次就被限制请求了,因此最新版本添加了这个配置的步骤,虽然麻烦了一小步,但是对于学习效率的提升,这点配置时间可以忽略不计。

  • 最新版本中我移除了DataBinding,缘由请参考 这里

屏幕截图

三方组件

Android官方架构组件

网络请求

依赖注入

响应式库

函数式库

其它

工具/插件

开始使用

  • 1.直接通过git命令行进行clone:
$ git clone https://github.com/qingmei2/MVVM-Rhine.git
  • 2.注册你的GithubApp

首先打开这个链接,注册属于你的OAuth Application

注册完成后,记住下面的Client IDClient Secret,并配置到你的项目根目录的local.properties文件中:

CLIENT_ID = "xxxxxx"
CLIENT_SECRET = "xxxxxx"

大功告成,接下来点击编译并运行即可。:tada: :tada: :tada:

如何入手学习这个项目?

如何使用Android Jetpack

如何使用Kodein进行依赖注入?

如何进阶学习RxJava

如果您依然不满意这个项目中的代码风格, 欢迎体验笔者关于状态管理的最新实践,个人而言更趋近于理想中的设计:

MVI-Rhine: 基于Jetpack + MVVM, 更加响应式&函数式的编程实践

感谢

🎨 项目中的UI设计部分参考了 gitme.

⭐ 项目参考了 rx-mvvm-android 并对其部分代码进行了引用.

License

The MVVM-Rhine: Apache License

Copyright (c) 2018 qingmei2

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.

mvvm-rhine's People

Contributors

qingmei2 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.