GithubHelp home page GithubHelp logo

normalcode's Introduction

收集的常用的代码片段:
1. 给当前界面添加一个透明度
2. 一键添加qq群
3. 得到当前版本号
4. 判断当前网络是否可用
5. 当前是否是移动网络
6. 当前是否是wifi
7. ListView根据item计算出实际的高度
8. 拨打电话(记得在清单文件添加权限)
9. 字符串是否包含汉字
10. 从assets 文件夹中读取图片
11. 判断字符串是否为空
12. 递归删除文件夹及里边的文件
13.非常全面的一个图片库,个人开发者必看 
......未完待续......

normalcode's People

Contributors

qiangzhen avatar solvebugs avatar

Watchers

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