{"action":"created","issue":{"url":"https://api.github.com/repos/lanshan-studio/weekly/issues/2","repository_url":"https://api.github.com/repos/lanshan-studio/weekly","labels_url":"https://api.github.com/repos/lanshan-studio/weekly/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/lanshan-studio/weekly/issues/2/comments","events_url":"https://api.github.com/repos/lanshan-studio/weekly/issues/2/events","html_url":"https://github.com/lanshan-studio/weekly/issues/2","id":176317102,"number":2,"title":"【周报】2016年秋期-第1周","user":{"login":"Axtonsun","id":15446174,"avatar_url":"https://avatars.githubusercontent.com/u/15446174?v=3","gravatar_id":"","url":"https://api.github.com/users/Axtonsun","html_url":"https://github.com/Axtonsun","followers_url":"https://api.github.com/users/Axtonsun/followers","following_url":"https://api.github.com/users/Axtonsun/following{/other_user}","gists_url":"https://api.github.com/users/Axtonsun/gists{/gist_id}","starred_url":"https://api.github.com/users/Axtonsun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Axtonsun/subscriptions","organizations_url":"https://api.github.com/users/Axtonsun/orgs","repos_url":"https://api.github.com/users/Axtonsun/repos","events_url":"https://api.github.com/users/Axtonsun/events{/privacy}","received_events_url":"https://api.github.com/users/Axtonsun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lanshan-studio/weekly/labels/%E7%A7%BB%E5%8A%A8%E7%AB%AF","name":"移动端","color":"8E44AD"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-12T08:11:01Z","updated_at":"2016-09-12T13:45:48Z","closed_at":null,"body":"## 徐志 @Zane96 \r\n+ python/flask把博客后台管理系统的框架搭好了，还没继续学\r\n+ 研究了一下python协程(yield的实现)以及多进程＋协程与多线程的效率比较\r\n+ 在怼Android Uint Test。找了一份系列教程，弄了下JUint，Robolectric，Mock，以及Dagger配合一起进行单元测试\r\n+ 爬虫的数据库爬到的20w数据全没了。。重启之后就没看到了。。看了一下mongo，发现之前姿势用的不对，导致没有自动备份数据\r\n+ 看了一个中国人整理的Google性能优化典范视频的总结文章，发现不怎么过瘾就去Youtube追完整的，发现已经更新到了70多集\r\n+ 计算机网络，在大学MOOC上看完了第一章。。\r\n+ 《Java程序性能优化》看了两章，《Java7并发编程手册》看了两章吧。。\r\n+ 问题：周六帮戴神解决bug发现google查不到，然后开始撸源码，连着撸了5，6个小时解决问题。(NestedScrollView嵌套Recycleview为什么findFirstVisiableItemPosition()方法失效以及为什么Nested系的所有控件可以同时回调onScrollxxx()方法)\r\n\r\n## 彭子沛 @houskii \r\n\r\n- 整理了Java常用集合框架源码，`ArrayList`、`HashMap`、`HashSet`、`HashTable`、`LinkedList`、`ConcurrentHashMap`、`LinkedHashMap`\r\n- 完善自己的开源库[SimpleRecyclerView](http://github.com/houskii/SimpleRecyclerView)\r\n- 开始接触Linux\r\n- 了解了一下RESTful框架\r\n- 和徐神讨论了关于IO/NIO中阻塞与非阻塞的问题\r\n- 看源码的时候发现AS和idea中JDK源码差别蛮大，然后去找了一下，一般Java用的是oracle的库，android用的是apache的Harmony库（目前看到的ArrayList、HashMap、HashSet中容器默认大小不同，LinkedList中仅有首节点，String的源码也不一样），不过听说android要换openJDK（暂时好像还没换，openJDK中集合源码和oracle的一致）\r\n- 分析`String`的不变性\r\n\r\n问题：\r\n\r\n1. AS 2.2+编译阶段莫名其妙报错\r\n\r\n   ```\r\n   :app:CompileJavaWithJavac\r\n   java.lang.NullPointerException\r\n   ```\r\n\r\n   StackOverFlow发现2个月前同样的问题，上面有位兄弟昨天回答说他们公司折腾了半天换回了2.1然后搞定，我试了2.1也通过。2.2+继续挂 _ (:з」∠) _\r\n\r\n## 朱鸿达 @AaronWharton\r\n> 才开学弄了点乱七八糟的东西，调整状态，这几天没有写Android，就说说以前遇到的比较看重的细节问题吧\r\n\r\n- XML引用资源文件不能过大，否则报XML文件解析错误。这不是关键，关键是报错的时候不显示自己的代码问题，搜索问题时不好发现错误原因，尤其是在引用导航页类的图片时不可忽视，图片建议400k。\r\n- 至于老生常谈的Transparent Window，就看看我以前的[总结](http://www.jianshu.com/p/2ef52f357aa0)吧，没什么技术含量，都是以前踩的坑。\r\n- 用过RxJava和Retrofit，确实很强大，不过代码优化方面还有很多欠缺的，操作符还得多练练。MVP思想值得深思。\r\n- **问题：**Java基础很重要，黑科技很多东西都与基础有关，这几天得好好补充一下Java基础和Android四大组件的联合使用。然后还要抽空看看C语言指针。应该差不多了，下周看了再继续总结一些，争取跟大家多分享技术。\r\n\r\n## 孙国璋 @Axtonsun\r\n* 又整体学习整理了一遍`Glide`功能   ~~`Glide源码` 没找到合适的博文~~\r\n* 学习 `沉浸式状态栏`\r\n* [What is 'Context' on Android?](http://stackoverflow.com/questions/3572463/what-is-context-on-android)\r\n* 安装了几个Android Studio的插件\r\n * [Android Material Design Icon Generator](https://github.com/konifar/android-material-design-icon-generator-plugin)\r\n * [可以在Android Studio IDE 内直接将英文翻译成中文](https://github.com/Skykai521/ECTranslation)\r\n * [屏幕录制工具，生成gif](http://www.cockos.com/licecap/)\r\n* 修改了一下自己的`知乎日报`\r\n* 又深入理解了一下`Thread``Handler``Runnable``Looper`\r\n* 区分理解了下`onViewCreated` `onCreateView`\r\n * `onViewCreated` is called immediately after `onCreateView`  \r\n\r\n* 错误\r\n * `Only the original thread that created a view hierarchy can touch its views` \r\n\r\n## 戴忠恒 @Helldefender\r\n- 继续完善知乎日报，增加图片轮播，细节优化，加深了对ScrollView，ViewPager等控件的理解。\r\n- 学习了android M 的一些新控件和性能优化。\r\n- 整理了笔记-知乎日报遇到的那些坑。\r\n- 看了大神们的博客受益匪浅，郭神的Gson和Jins的ViewPager实现左右循环滑动及轮播效果，印象深刻。\r\n- 问题：感谢徐神帮我解决Recycleview的findFirstVisiableItemPosition()失效的问题，听了讲解，暴露了很多问题，发现是时候看一波书了，补充知识，好好学数据结构。革命尚未成功，同志仍需需努力。加油！\r\n\r\n## 谭培 @FrankytEdward\r\n- 跟着幕客＋看书学习了一章计算机网络\r\n- 跟着幕客＋看书学习了一章数据结构\r\n- 再此理解了一下runloop、runtime\r\n- 修改了一下知乎日报\r\n- 问题\r\n知乎日报的代码还有很多地方需要改进，还需要提升项目经验\r\n\r\n## 罗阳灿 @LuoYangCan \r\n* 看书以及各种方式学习数据结构（学长们都说很重要\r\n* 不断完善我做的登陆界面（代码优化以及封装之类\r\n* 尝试做一些新的有趣的app\r\n* 准备看一下block机制\r\n* 问题：block在iOS里面是作为一种什么存在的。。。\r\n"},"comment":{"url":"https://api.github.com/repos/lanshan-studio/weekly/issues/comments/246351640","html_url":"https://github.com/lanshan-studio/weekly/issues/2#issuecomment-246351640","issue_url":"https://api.github.com/repos/lanshan-studio/weekly/issues/2","id":246351640,"user":{"login":"Zane96","id":12124524,"avatar_url":"https://avatars.githubusercontent.com/u/12124524?v=3","gravatar_id":"","url":"https://api.github.com/users/Zane96","html_url":"https://github.com/Zane96","followers_url":"https://api.github.com/users/Zane96/followers","following_url":"https://api.github.com/users/Zane96/following{/other_user}","gists_url":"https://api.github.com/users/Zane96/gists{/gist_id}","starred_url":"https://api.github.com/users/Zane96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zane96/subscriptions","organizations_url":"https://api.github.com/users/Zane96/orgs","repos_url":"https://api.github.com/users/Zane96/repos","events_url":"https://api.github.com/users/Zane96/events{/privacy}","received_events_url":"https://api.github.com/users/Zane96/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T13:45:48Z","updated_at":"2016-09-12T13:45:48Z","body":"安卓大法好，毕竟有源码"}}
{"actor":{"display_login":"Zane96"}}