Giter Club home page Giter Club logo

cyxbs_android_v2.0's Introduction

CYXBS_V2.0

掌上重邮(重邮小帮手Android客户端)2.0

##Set-up

###Requirements

  • buildToolsVersion:22.0.1
  • compileSdkVersion:22

###Dependencies

##Project Tree app/ config/ 全局配置文件 di/ 依赖注入包 model/ model层 bean/ java bean类 impl/ model接口的实现 ... model接口 presenter/ presenter层 activity/ adapter/ fragment/ util/ 工具包 view/ view层 impl/ view接口的实现 widget/ 自定义view ... view接口

##Naming Conventions 包名小写

JAVA部分
    采用驼峰法
    Activity类:Activity为后缀、Fragment类:Fragment为后缀、Adapter类:Adapter为后缀...
    抽象类Abs开头
    接口I开头

资源文件
    小写加下划线分割
    contentview命名:activity_功能模块.xml,fragment_功能模块.xml

    例如:activity_main.xml、activity_more.xml、fragment_main.xml
    组件命名:组件简写\_模块\_描述.xml

        Button:btn\_模块\_描述.xml
        例如:btn\_main\_login.xml

        Dialog:dialog\_模块\_描述.xml
        例如:dialog\_main\_hint.xml

        PopupWindow命名:pw\_模块\_描述.xml
        例如:pw\_main\_info.xml

    adapter的子布局:item\_功能模块\_描述.xml
    例如:item_main_goods_list.xml

    包含项:include_描述.xml(include文件可能多模块复用,所以不加模块)
    例如:include_head.xml、include_bottom.xml

    延迟加载部分:viewstub_描述.xml
    例如:viewstub_empty.xml

    合并:merge_描述.xml

cyxbs_android_v2.0's People

Contributors

cheneyang avatar jiaqizho 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.