![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习笔记
文章平均质量分 69
「已注销」
这个作者很懒,什么都没留下…
展开
-
Git的使用
Git的使用原创 2015-07-01 16:08:21 · 414 阅读 · 0 评论 -
文交联合用到的框架
compile 'com.orhanobut:logger:1.4' //打印数据框架 compile 'com.android.support:multidex:1.0.1' //对dex文件的优化,解决方法数过多产生的问题 compile 'com.android.support:appcompat-v7:22.2.1' //提供了UI版本兼容 c原创 2015-08-12 11:47:13 · 412 阅读 · 0 评论 -
recyclerview联动滑动 关键代码
private void adjustUILabel(RecyclerView recyclerView) { final int count = rollHolder.recyclerView.getLayoutManager().getChildCount(); View v = recyclerView.getLayoutManager().getChildAt(0);原创 2015-08-04 11:05:17 · 2413 阅读 · 2 评论 -
TabLayout
CollapsingToolbarLayout原创 2015-12-29 18:35:03 · 282 阅读 · 0 评论 -
Service和IntentService的区别2
上一篇Service 和 IntentService 的区别对 IntentServcie 有了一个初步的了解。今天来结合 IntentService 的源码具体分析一下 IntentService 的内部实现原理。 先贴一下 IntentService 的源码。IntentService 源码public abstract class IntentService extends Service原创 2016-01-22 17:47:44 · 293 阅读 · 0 评论 -
Service和IntentService的区别1
Service和IntentService的区别ServiceService是用于后台服务的,当应用程序被挂到后台的时候,为了保证应用某些组件仍然可以工作而引入了Service. Service不是一个单独的进程,它和应用程序在同一个进程中,Service也不是一个线程,它和线程没有任何关系,所以它不能直接处理耗时操作. 如果直接把耗时操作放在Service的onStartCommand()中,原创 2016-01-16 14:23:40 · 469 阅读 · 0 评论 -
InflaterLayout 原理
LayoutInflater 的基本用法LayoutInflater 是用来加载布局的。一般在 Activity 里会调用 setContentView 来设置布局。其实 setcontentView 内部也是调用LayoutInflater 来加载布局的。只不过这部分源码是内部的没有公开。 首先要获取到 LayoutInflater 的实例,有2种方法。1.LayoutInflater layo原创 2016-01-27 15:46:21 · 321 阅读 · 0 评论