随机推荐

Android Studio‘Library projects cannot set applicationId’

前言Library projects cannot set applicationId. applicationId is set to 'com.biumall.usercenter' in default config.摘抄于此,方便自己查阅。正文动态配置module时,当前设置为l...

Android Studio重构清除无引用资源

前言Android开发中,发现移植的APP模块存有很多图片和xml等资源,至于是否有引用,不去查询是不太好知道的。但是Android Studio有个功能,也就是Android Studio Refactor/Remove Unused Resources【重构,移除没有引用的资源】。PS:...

Android Studio的Gradle下载慢

前言新建或者导入Android Studio工程,由于各种原因,Gradle下载慢或者更本无法下载,因此需要替换为国内的代理。记录于此,方便自己查阅。正文解决方法:使用阿里仓库服务替换,更多内容可以访问这个:https://maven.aliyun.com/mvn/view具体操作:...

Square开源框架Coordinators的简单使用

Coordinators简介Coordinators是由知名公司Square开发并开源的框架,Simple lifecycle for your MVWhatever on Android. No kidding.哈哈,比较小众,但很不错的。目前国内没啥资料介绍这个和使用这个。Github地...

Looper中ThreadLocal的简介

一 ThreadLocal的简介This class provides thread-local variables. These variables differ from their normal counterparts in that each thread that acces...

Matrix的set,pre和post的区别

前言本文内容基本摘抄,只不过自己重新整理了一下,方便自己查阅而已。主要是记录一下Matrix中setScale,preScale和postScale 的区别。正文setScale,preScale和postScale都是用于改变缩放值的。setScale(sx,sy),首先会将该Mat...