Giter VIP home page Giter VIP logo

android_gtools's Introduction

Android_gTools

Android 布局xml解析代码生成工具 相关文章

下载

Android_gTools_v0.0.4.exe

介绍

生成绑定控件的代码

标准版:findViewById Xutils注入版、Annotations注入版

生成Style文件的代码

可以根据正则表达式筛选过滤到style中的属性。分xml结点name和value都可以参正则过滤

生成Viewholder相关


json数据生成java类


框架

因为我们的功能都是同一类型,根据xml解析,所以我们可以将每个功能看成一类产品,而我们采用一个简单简单工程进行管理这些产品的生成。每个功能对象都是唯一的,所以我们需要采用单例保证唯一性。 所以真个架构我采用了简单工厂+工厂方法+单例来实现整个项目。

关于我

简书 keyboard3
邮箱 [email protected]

android_gtools's People

Contributors

keyboard3 avatar woshigithub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

msmt2017

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.