• Stars
    star
    1,831
  • Rank 25,349 (Top 0.5 %)
  • Language
    Kotlin
  • Created about 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The practice of MVVM + Jetpack architecture in Android.

MVVM-Architecture

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

通知

这个项目采用了数种 MVVM 的实现方式,你可以参考任意感兴趣的进行了解:

屏幕截图

三方组件

Android Jetpack 组件

网络请求

依赖注入

其它

开始使用

如果编译遇到如下图的错误:

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

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

首先参考这个链接, 注册获取属于你的Access Token

获取到AccessToken后,并配置到你的项目根目录的local.properties文件中:

USER_ACCESS_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxx"

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

如何入手学习这个项目?

如何使用Android Jetpack

一些有趣的项目推荐

  • Net: 基于kt协程的网络请求库,简单易上手;
  • BRV: 基于kt的列表库,快速构建MVVM下的UI列表

感谢

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

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

Contributor

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.

More Repositories

1

RxImagePicker

🚀RxJava2 and RxJava3 external support. Android flexible picture selector, provides the support for theme of Zhihu and WeChat (灵活的Android图片选择器,提供了知乎和微信主题的支持).
Kotlin
1,199
star
2

blogs

📝 The Android programing blogs(简体中文).
1,035
star
3

RxWeaver

🐤 一种基于RxJava2实现全局Error处理的实现方式。
Kotlin
269
star
4

MVI-Architecture

The practice of MVI + Jetpack architecture in Android.
Kotlin
175
star
5

MvpArchitecture-Android

[DEPRECATED] The MVP Architecture in the Android.
Java
113
star
6

FlutterGitHubApp

Flutter开发跨平台Github客户端,适用于Android和iOS。
Dart
102
star
7

Sample_dagger2

The guide of the Dagger2 and dagger.android usage in Android.
Java
98
star
8

SamplePaging

Kotlin
69
star
9

QrCodeScannerView-Android

[Deprecated(已废弃)] The Library simple and easy for scanning QrCode
Java
67
star
10

SlideBottomLayout-Android

【已废弃】该Repo已废弃,请使用Android原生的BottomSheet实现该功能.
Java
50
star
11

MVVM-Rhine-Template

Code generation template for MVVM-Rhine.
FreeMarker
45
star
12

Samples-Android

日常案例的练手代码仓库
Java
42
star
13

OpenGL-demo

Kotlin
38
star
14

MvvmApp-Android

[DEPRECATED] Mvvm+DataBinding study demo
Java
30
star
15

MultiTypeBindings

[DEPRECATED]零代码实现RecyclerView的Adapter
Java
28
star
16

Sample_AndroidTest

The Sample that how to use the AndroidTest in developing. (Espresso+Mockito+Robolectric)
Java
27
star
17

SampleNavigation

Google官方架构组件Navigation使用Sample
Kotlin
26
star
18

ShanbayAutoReader

扇贝阅读app自动阅读脚本
Groovy
12
star
19

RxFamilyUsage-Android

Also is your family if you love rx
Java
8
star
20

NotificationUtil

兼容Android8.0的通知Util
Kotlin
8
star
21

MVI-Rhine-Template

Code generation template for MVI-Rhine.
FreeMarker
7
star
22

RxDialog

Deprecated(已废弃)
Kotlin
6
star
23

MaterialDesignPictures

MD风格的图片,收集起来以作他用。
4
star
24

DslViewPagerAdapter

A simple implementation of ViewPager.
Kotlin
3
star
25

RxSchedulers

[DEPRECATED] The schedulers tools for RxJava2 in Android.
Kotlin
3
star
26

HenCoderPractice

HenCoder自定义View学习练习题库
Kotlin
3
star
27

KodeinSample

依赖注入工具Kodein使用Sample
Kotlin
2
star
28

GroovyJourney

Groovy学习代码
Groovy
2
star
29

qingmei2-blogs-art

Using Github as my image hosting service.
2
star
30

SampleWorkManager

Kotlin
1
star
31

my-unity-study-demo

The Unity learning project.
C#
1
star
32

LeetCodeJourney

目标,让家里的《算法导论》不再吃灰
Java
1
star
33

Data-Structure

Data-Structure Practice
C
1
star
34

BasicRxJavaSampleKotlin

Google官方BasicRxJavaSampleKotlin的代码,照着写学习:
Kotlin
1
star