android
命名是开发中最难的
Android开发工程师
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Android与设计模式(1)—— 单例模式(8.12)
单例模式只有一个实例化对象,适用于资源管理类,配置相关类以及有统一需求的类。原创 2017-08-15 20:31:38 · 294 阅读 · 0 评论 -
Android 与 设计模式(2)——工厂模式
工厂模式不会对使用者暴露创建逻辑,并且是通过使用一个共同的接口来指向新创建的对象。 以简单工厂为例// 提供统一的抽象接口供子类实现public interface Factory { void create();}// 子类实现抽象接口public class Computer implements Factory{ @Override public void c原创 2017-08-15 20:46:10 · 524 阅读 · 0 评论 -
Bitmap 解析大图时 OOM 解决办法
options.inJustDecodeBounds 在decode时的使用原创 2017-09-12 20:33:23 · 1316 阅读 · 0 评论 -
混淆出错 proguard.ParseException Unexpected keyword
cWarning: Exception while processing task java.io.IOException: proguard.ParseException: Unexpected keyword 'com.xx.**' in line 289 of file '/opt2/jenkins/workspace/MyApplication/app/proguard-rules.p原创 2017-11-17 17:44:01 · 4751 阅读 · 1 评论 -
Throwable Error Exception RuntimeException 解析
ThrowableThe Throwable class is the superclass of all errors and exceptions in the Java language. Only objects that are instances of this class (or one of its subclasses) are thrown by the Java Vir原创 2017-12-12 13:28:07 · 1031 阅读 · 0 评论 -
静态代码检查工具对比 lint checkStyles findbugs PMD
都优先在开发过程中本地使用 ,推荐程度 : lint > checkStyles > findbugs > PMD将lint配置到jenkins ,打包前检查 ,主要检查未使用资源区别 :findbug :检查JAVA类和JAR 包,发现如NPE 等问题PMD : 检查源代码,发现如无用代码等问题checkStyles : 按照规则,检查不符合代码规范的问题Lint :Andr...原创 2018-04-12 20:59:29 · 1730 阅读 · 0 评论
分享