Code Monkey home page Code Monkey logo

sampleproject's Introduction

一个基于 Kotlin + MVVM + Jetpack + DataBinding + 协程的 玩Android 客户端


为什么写这个项目

  • 一开始,我只是打算写一个模板项目,把自己收集整理的项目模板、工具之类的拆分一下,好在将来的项目中直接依赖,弄完之后又觉得,就这么封装也没个demo,好像也不太好,于是就就着 WanAndroid 的开放 API,完成了这个项目。

项目架构

  • Kotlin 语言
  • MVVM 架构
  • Jetpack 组件
  • DataBinding
  • Koin 依赖注入
  • Retrofit + 协程 网络加载
  • Glide 图片加载
  • SmartRefreshLayout 刷新
  • 大概就这些。。。

给你瞅瞅

  • 首页 首页

  • 搜索 搜索

  • 项目 项目

  • 网页 网页

  • 我的 我的

  • 登录 登录

  • 侧滑返回效果:

    侧滑返回效果

最后

  • 注意:由于 lib_recyclerview 库中用到了反射,所以需要添加混淆规则:

-keep class cn.wj.android.recyclerview.** { *; } -keep class * extends cn.wj.android.recyclerview.** { *; }

sampleproject's People

Contributors

wangjie0822 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.