Giter Club home page Giter Club logo

appleframework's Introduction

AppleFramework

本项目基于快速开发android项目目的,总结多年项目开发经验,本项目基于mvc架构,其中把数据层、网络交互层、页面逻辑处理层完全分离,降低多层之间藕合度。

通过封装网络客户端代理方式,完全分离网络层,项目中可以随意使用不同网络库,解析回来使用工厂模式实现各个具体解析实体模型。

再本项目总结多年开发,把所有基类activity、application、dialog、Fragment 公共抽离,可以直接使用里面发申请方法、事件集中处理、网络事件回传 方法中,把业务逻辑写代码分离如下: /** * 初始化布局和控件 * * @param bundle */ protected abstract View initView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState);

/**
 * 初始化监听
 */
protected abstract void initLisener();

/**
 * 初始化数据
 */
protected abstract void initData(Bundle savedInstanceState);

本项目中集合微信、微博分享功能,只要简单配置就可以直接使用,支持微博授权,微信、微博各种分享模式等。

appleframework's People

Contributors

apple317 avatar

Watchers

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