Coder Social home page Coder Social logo

vettelgank's Introduction

VettelGank

Vettel's Gank 是一款完全使用 Kotlin 作为编程语言实现的 干货集中营 客户端。本项目展示了一些Kotlin的优秀语言特性,并且分别使用 MVP、MVVM 两种方式来实现;使用了Jetpack中的Architecture Components以及AndroidX,你可以Checkout到不同分支来对比它们之间的实现区别。

Room、LiveData、ViewModel、Paging、DataBinding这些库怎么结合起来使用?怎样用AndroidX取代Support Library?传统MVP和基于Jetpack实现的MVVM有什么区别?这个App应该能给大家一点启发。欢迎star/fork。

分支含义

  1. kotlin-mvp-base: 使用 Kotlin + MVP 实现的基础版本,此分支主要展示了Kotlin基础的使用,对于入门Kotlin比较友好
  2. kotlin-mvvm-jetpack: 使用 Kotlin + MVVM 实现,展示了Android Jetpack中架构组件的使用(包括:DataBinding、LiveData、ViewModel、 Room)
  3. kotlin-mvvm-jetpack-paging: 在kotlin-mvvm-jetpack基础上,增加Paging作为App分页库,可以更加优雅地加载无限列表

架构规范

效果

image

流畅的操作体验,请戳视频哦

http://cjw-blog.oss-cn-shenzhen.aliyuncs.com/vettel_gank.mp4

开源库

图标/设计

参考

vettelgank's People

Contributors

v1sk avatar

Watchers

James Cloos avatar zcgong 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.