GithubHelp home page GithubHelp logo

date_android's Introduction

#如期 【Date】 Android客户端

##项目结构 app/ config/ 全局配置文件 home/ 模块 presenter/ presenter层 view/ view层 model/ model,包含bean bean/ Java bean对象 util/ 工具类 widget/ 自定义控件

##命名规范

  • 包名小写

  • 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

date_android's People

Contributors

jude95 avatar lecion avatar

Watchers

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