上一页 1 2 3 4 5 6 7 ··· 29 下一页
摘要: 一、什么是异步 同步和异步主要用于修饰方法。当一个方法被调用时,调用者需要等待该方法执行完毕并返回才能继续执行,我们称这个方法是同步方法;当一个方法被调用时立即返回,并获取一个线程执行该方法内部的业务,调用者不用等待该方法执行完毕,我们称这个方法为异步方法。 异步的好处在于非阻塞(调用线程不会暂停执 阅读全文
posted @ 2019-04-28 17:23 寒夜美美 阅读(832) 评论(0) 推荐(1) 编辑
摘要: 今天比较懒,只是列举了一些网址 弹窗之一:dialogFragment的使用 https://blog.csdn.net/sinat_31057219/article/details/76979246 activity与dialogFragment数据传递 https://blog.csdn.net 阅读全文
posted @ 2019-04-17 16:59 寒夜美美 阅读(1359) 评论(0) 推荐(0) 编辑
摘要: setAllowContentAccess (boolean allow) 是否允许在WebView中访问内容URL(Content Url),默认允许。内容Url访问允许WebView从安装在系统中的内容提供者载入内容。 setAllowFileAccess (boolean allow) 是否允 阅读全文
posted @ 2019-04-17 16:50 寒夜美美 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 本文转自:https://blog.csdn.net/klxh2009/article/details/74938009 很多UI设计师做APP切图都会有两套,一套是Android的,一套是IOS的。IOS我这边暂不作讲解,因为我本人也不是开发IOS。这里整理一下我在Android开发中总结的一些有 阅读全文
posted @ 2019-04-17 16:46 寒夜美美 阅读(1006) 评论(0) 推荐(0) 编辑
摘要: package com.signin; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import andro... 阅读全文
posted @ 2019-02-15 11:59 寒夜美美 阅读(875) 评论(0) 推荐(0) 编辑
摘要: public class RotateTextView extends AppCompatTextView { private static final int DEFAULT_DEGREES = 0; private int mDegrees; public RotateTextView(Context context) { super(contex... 阅读全文
posted @ 2019-02-15 11:56 寒夜美美 阅读(1190) 评论(0) 推荐(0) 编辑
摘要: 偷懒一下,不做过多阐述 参考资源: Android 自定义View实现SegmentControlView : https://blog.csdn.net/a512337862/article/details/72846048 https://www.cnblogs.com/carbs/p/5520 阅读全文
posted @ 2019-02-15 11:51 寒夜美美 阅读(1133) 评论(0) 推荐(0) 编辑
摘要: bundle配置: implementation 'com.google.android.exoplayer:exoplayer-core:2.8.1'implementation 'com.google.android.exoplayer:exoplayer-dash:2.8.1'implemen 阅读全文
posted @ 2018-11-14 14:48 寒夜美美 阅读(4267) 评论(0) 推荐(0) 编辑
摘要: 前几天和朋友聊到了APP清除数据这块,聊到了清除数据都会清掉哪些数据,我们每个人的手机在”设置–>应用管理”里面,选择任意一个App,都会看到两个按钮,一个是清除缓存,另一个是清除数据,那么当我们点击清除缓存的时候清除的是哪里的数据?当我们点击清除数据的时候又是清除的哪里的数据?今天在这里验证一下。 阅读全文
posted @ 2018-10-20 11:22 寒夜美美 阅读(2589) 评论(0) 推荐(0) 编辑
摘要: 转载地址:https://blog.csdn.net/nugongahou110/article/details/48154859 之前看到一位网友的吐槽:当我把手机连接到电脑上时,在SD卡根目录看到了成百上千个各种应用程序创建的文件夹,拜托了各位开发者,你真的认为我的手机上只安装你一个app吗?你 阅读全文
posted @ 2018-10-20 11:13 寒夜美美 阅读(5334) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 ··· 29 下一页