专栏名称: AndoirdBlogCN
[ Android Blog 周刊 ]每周一准时更新,主要包括本周最新的优秀国内外博客,新闻,类库,视频等 [www.androidblog.cn ] [ QQ群:149581646 ]
目录
相关文章推荐
复利大王  ·  手握25w华子股票,躺平了 ·  1小时前  
复利大王  ·  520怀孕事件? ·  1小时前  
复利大王  ·  卷疯了:食堂档口末位淘汰 ·  昨天  
复利大王  ·  性萧条时代的东莞要振兴KTV产业 ·  昨天  
复利大王  ·  北京97师大美女征友 ·  3 天前  
51好读  ›  专栏  ›  AndoirdBlogCN

Android博客周刊#第50期#

AndoirdBlogCN  · 公众号  · android  · 2017-01-09 08:04

正文

请到「今天看啥」查看全文



8.LruCache源码解析

LRU 是 Least Recently Used 最近最少使用算法。 继承自HashMap,一个有序的Map接口实现,这里的有序指的是元素可以按插入顺序或访问顺序排列; 与HashMap的异同:同样是基于散列表实现,区别是,LinkedHashMap内部多了一个双向循环链表的维护,该链表是有序的,可以按元素插入顺序或元素最近访问顺序(LRU)排列, 简单地说:LinkedHashMap=散列表+循环双向链表


9.安卓AOP实战:APT打造极简路由

特点: 1、0个类0行代码(除了apt及生成的仅仅一个类的代码) 2、0反射0性能损耗,基于编译期间注解处理器 3、支持任何类型的参数传递,没有原生Intent的数据大小限制 4、支持页面元素共享的转场动画 用法 那么,既然敢说极简,到底有多简单呢,来看看用法


10.ViewStub是如何实现懒加载的

ViewStub 是一个宽高都为0,不可见的(GONE),不参与measure与layout(绝大部分情况),不绘制任何东西,可以用来做懒加载的View,常用于布局优化; PS: 为什么说绝大部分情况不参与测量与布局呢?因为大部分ViewGroup对于GONE的View,都不会让它参与测量与布局流程(自定义的就不一定了,另外可以看一下FrameLayout的源码)。

类库


1.Android-ExpandIcon

https://github.com/zagum/Android-ExpandIcon

实现google风格的展开箭头



2.MusicStreamer

https://github.com/harjot-oberai/MusicStreamer

一款音乐播放器


3.FreeDrawView

https://github.com/RiccardoMoro/FreeDrawView

一个画板,能够改变画笔的大小、颜色等等


4.BGASwipeBackLayout-Android

https://github.com/bingoogolapple/BGASwipeBackLayout-Android

通过修改 support-v4 包中 SlidingPaneLayout 的源码来实现滑动返回布局


5.FontometricsLibrary

https://github.com/Ishmeetsingh97/FontometricsLibrary

一个自定义字体库


6.Router

https://github.com/chenenyu/Router

路由框架实现


7.RxFingerPrinter

https://github.com/Zweihui/RxFingerPrinter

用rxjava简单封装了指纹识别,顺便撸了一个指纹控件


8.Vorolay

https://github.com/Quatja/Vorolay

能够分割各个形状玻璃片效果


9.Incremental-update-master

https://github.com/ccj659/Incremental-update-master

采用bsdiff开源库 的增量更新,差分更新 服务器端&客户端,


10.YinyuetaiPlayer

https://github.com/oubowu/YinyuetaiPlayer

高仿音悦台播放页面效果


11.text-decorator

https://github.com/nntuyen/text-decorator

一个很使用的TextView


12.GithubContributionsWidget

https://github.com/donglua/GithubContributionsWidget

仿github视图


13.NetSpeed

https://github.com/mrrobot97/NetSpeed







请到「今天看啥」查看全文