Giter Club home page Giter Club logo

base's Introduction

Base

这是给自己写的一个基类模板,以后会不断完善! 暂时只有BaseActivity和BaseFragment的模板,里面包括对findViewById的泛型封装,fragment 懒加载的实现,由于个人不喜欢ButterKnife,个人见解是其实用了注解代码量还是增加了,只不过 换了位置而已,既然都没有性能损耗,还是直接用原装就好了,所以不会对这个进行封装,而且暂时 觉得不会对第三方库封装进Base类,开源日新月异,我都是有必要再继承一次封装,当然因为一些库 并不是每个地方都要用统一封装感觉不够灵活,还是用的时候手写一点比较好,由于刚写,还有很多 漏洞,欢迎提意见,后续会有比较多的内容加进来,希望做个最好用的基类!

base's People

Contributors

wxjqgt 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.