六木Sir
六木Sir
Android 的消息机制也就是 handler 机制,创建 handler 的时候会创建一个 looper ( 通过 looper.prepare() 来创建 ),looper 一般为主线程 looper. handler 通过 send 发送消息 (sendMessage) ,当然 post 一系列方法最终也是通过 send 来实现的,在 send 方法中handler 会通过 enqueueMessage() 方法中的 enqueueMessage(msg,millis...
## dryrun ## dryrun是什么? Github,作为全球最大的男性交友平台(呵呵一笑,你懂得🙃),基本每天都会在Github上进行开源项目的查看,原来想看个开源项目,会先看下方这个项目的作者有没有贴上效果图或者动态图,如果没有贴详细图又或者想看看具体的效果,我就会先下载源码,然后放到Android Studio中,然后跑一遍项目,等待N久的编译过程,然后再在手机上看效果,然后发现效果不好,不满足我的需求,我又要去把这个项目的源码删除。这是一个累死人的过程。这个过程耗时太长也很折磨人。但是我在网上看到dryrun之后,一切就变了,只需要运行一句话就可以看到该项目在手机上预览的效果。 ## dryrun 安装 - install ``` gem install dryrun ``` 1.安装遇到的问题  解决办法: ``` gem sources --remove http://rubygems.org/ gem sources --remove https://rubygems.org/ gem sources...
- [ ] 如何向开源社区提问题? - [ ] 如何利用好Google等搜索引擎? - [ ] 如何有效地报告bug? - [ ] 提问的智慧? - [ ] 如何参与开源项目?
1. - [ ] https://github.com/CymChad/BaseRecyclerViewAdapterHelper 2. - [ ] https://github.com/scwang90/SmartRefreshLayout 3. - [ ] https://github.com/Tamicer/Novate 4. - [ ] https://github.com/zhihu/Matisse 5. - [ ] https://github.com/florent37/MaterialViewPager 6. - [ ] https://github.com/huangweicai/OkLibDemo...