- 博客(5)
- 收藏
- 关注
原创 相机NV21转YUV420P
#使用 //分辨率 int width ; //获取分辨率宽 int height ;//获取分辨率高 byte[] yuv420P = NV21_TO_yuv420P(new byte[width * height * 3 / 2], bytes, width, height); public byte[] NV21_TO_yuv420P(byte[] dst, byte[] src, int w, int h) { int ysize = w * h; int usize = w
2021-05-14 17:34:03
670
原创 Studio与模拟器提示远程主机强迫关闭了一个现有的连接,频繁断开连接
adb占用 将studio SDK中的adb复制放到夜神bin下改为nox_adb 且删除夜神bin目录下的adb.exe
2021-02-20 09:47:58
306
原创 SP支持对象、List、Map存储
SP支持对象、List、Map存储 存储 UserResult userResult=new UserResult (); SPUtils.saveDataBean(LoginActivity.this, “user”, userResult); 获取 UserResult user = (UserResult) SPUtils.getDataBean(context, “user”, UserResult.class); /** * ClassName:SPUtils * Function: 临时
2021-01-29 16:09:47
928
原创 RecyclerView数据刷新错乱问题记录
RecyclerView数据刷新错乱问题记录 其中控件在适配器中隐藏显示要对应,文字空,非空也要对应设置,不能省写其中一项
2021-01-28 15:51:56
500
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅