自定义验证码图片view
public class CheckView extends View {Context mContext;String mCheckCode null;Paint mTempPaint new Paint();private final int mPointNum;private final int mLineNum;private int mTextLength;private final float mTextSize;
// private f…
/1、全部替代你的项目build.gradle内容:
// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript {repositories {
// maven {
// url https://maven.google.com
// }mavenCe…
1、箭头函数 ES6允许使用“箭头”(>)定义函数 var f v > v;//等价于var f function(v){return v;
}; 如果箭头函数不需要参数,则定义如下: var f () > 5;
// 等同于
var f function () { return 5 }; 如果箭头函…