摘要: 摘自https://blog.csdn.net/yinsujun11/article/details/49931141 <?xml version="1.0" encoding="utf-8"?><animated-rotate xmlns:android="http://schemas.andro 阅读全文
posted @ 2018-05-23 15:47 大一脚步 阅读(1524) 评论(0) 推荐(0) 编辑
摘要: 五.使用volatile关键字的场景 synchronized关键字是防止多个线程同时执行一段代码,那么就会很影响程序执行效率,而volatile关键字在某些情况下性能要优于synchronized,但是要注意volatile关键字是无法替代synchronized关键字的,因为volatile关键 阅读全文
posted @ 2018-05-23 14:56 大一脚步 阅读(1779) 评论(0) 推荐(0) 编辑
摘要: 能加的都加上没毛病 阅读全文
posted @ 2018-05-23 10:08 大一脚步 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 摘自https://blog.csdn.net/ztchun/article/details/68961233 1、概述 ids.xml:为应用的相关资源提供唯一的资源id。id是为了获得xml中的对象需要的参数,也就是 Object = findViewById(R.id.id_name); 中的 阅读全文
posted @ 2018-05-23 09:35 大一脚步 阅读(3176) 评论(0) 推荐(0) 编辑