Code Monkey home page Code Monkey logo

greendao2-demo's Introduction

AndroidMVP

基于AcmenXD/AndroidFrame,整理的MVP框架

如要了解功能实现,请运行app程序查看控制台日志和源代码!

功能


  • 默认debug&release都开启 -> 混淆 | zipalign优化 | 移除无用的resource文件
  • 特别说明 -> 框架支持库请移步对应的github查看使用方法及源码

结构说明 -> core 核心库


base

-> impl包          : base层所需的接口基类
-> AppConfig       : debug开关,config配置及项目用到的其他参数等
-> AppFrameConfig  : 继承自FrameConfig,修改些基础配置
-> BaseApplication : 继承自FrameApplication,拓展项目配置初始化等
-> BaseActivity    : 继承自FrameActivity,拓展项目功能
-> BaseFragment    : 继承自FrameFragment,拓展项目功能
-> BaseService     : 继承自FrameService,拓展项目功能
-> BasePresenter   : 继承自FramePresenter,拓展项目功能
-> BaseModel       : 继承自FrameModel,拓展项目功能

db

-> core     : 数据库操作帮助类,数据库表升级基类
-> dao      : GreenDao生成些文件,数据库配置及表管理等
-> migrator : 数据库表升级支持
-> ...      : 数据库表操作相关类

http

-> IRequestDoc      : Retrofit注解的使用文档
-> IRequest         : 默认所有服务器接口的定义
-> RequestCallback  : 服务器状态码统处理类

widget

-> CircleProgress : 圆形进度条
-> ...            : 各种自定义组件 & 自定义View

model

-> db       : 数据库实体类定义
-> request  : 服务器请求实体类定义
-> response : 服务器响应实体类定义

结构说明 -> mvp 业务Module

view

-> SplashActivity : 启动页
-> MainActivity   : 主页

mvp

-> ITest         : 模拟登录模块mvp接口定义
-> TestModel     : 模拟登录模块m层实现
-> TestPresenter : 模拟登录模块p层实现

demo

-> 各功能模块的测试Activity

有问题请与作者联系[email protected] ^_^!

gitHub : https://github.com/AcmenXD 如对您有帮助,欢迎点Star支持,谢谢~

技术博客 : http://blog.csdn.net/wxd_beijing

END

greendao2-demo's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

tmyibos

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.