
{"id":930,"date":"2016-12-13T10:26:14","date_gmt":"2016-12-13T02:26:14","guid":{"rendered":"http:\/\/www.jiandaima.com\/blog\/?p=930"},"modified":"2016-12-13T10:26:14","modified_gmt":"2016-12-13T02:26:14","slug":"android-weekly-235-%e4%b8%ad%e6%96%87%e7%89%88","status":"publish","type":"post","link":"http:\/\/www.jiandaima.com\/blog\/archives\/930.html","title":{"rendered":"Android Weekly #235 \u4e2d\u6587\u7248"},"content":{"rendered":"<h2 id=\"articleHeader0\"><strong>\u6587\u7ae0&amp;\u6559\u7a0b<\/strong><\/h2>\n<p><a href=\"https:\/\/medium.com\/dualcores-studio\/make-an-android-custom-view-publish-and-open-source-99a3d86df228#.hfnmb5wa9\">\u5236\u4f5c\u4e00\u4e2aAndroid\u81ea\u5b9a\u4e49\u89c6\u56fe\uff0c\u53d1\u5e03\u5e76\u5f00\u6e90<\/a>(medium.com)<\/p>\n<p>\u8fd9\u91cc\u8bb2\u4e86\u5982\u4f55\u521b\u5efa\u4e00\u4e2aAndroid\u81ea\u5b9a\u4e49\u89c6\u56fe\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u5706\u5f62\u62d6\u52a8\u6761\uff0c\u4f7f\u5b83\u6210\u4e3a\u4e00\u4e2a\u5e93\uff0c\u5728GitHub\u5f00\u6e90\uff0c\u5e76\u53d1\u5e03\u5230JCenter\u3002<\/p>\n<p><a href=\"https:\/\/medium.com\/google-developers\/animation-jump-through-861f4f5b3de4#.psphnug0b\">\u52a8\u753b\uff1a\u8df3\u2014\u2014\u7a7f\u8d8a<\/a>(medium.com)<\/p>\n<p>Nick Butcher\u5728Android\u4e0a\u4f7f\u7528AnimatedVectorDrawables\u5b9e\u73b0\u4e86\u4e00\u79cd\u795e\u5947\u7684\u201c\u83b7\u53d6\u4f4d\u7f6e\u201d\u52a8\u753b\u3002<\/p>\n<p><a href=\"http:\/\/www.philosophicalhacker.com\/post\/what-makes-android-apps-testable\/\">\u4ec0\u4e48\u8ba9Android Apps\u53ef\u6d4b\u8bd5\uff1f<\/a>(www.philosophicalhacker.com)<\/p>\n<p>Philosophical Hacker\u7ee7\u7eed\u4e86\u4ed6\u7684\u63a2\u7d22\u4ee5\u4fbf\u7406\u89e3\u4ec0\u4e48\u8ba9Android Apps\u53ef\u6d4b\u8bd5\u3002<\/p>\n<p><a href=\"https:\/\/blog.stylingandroid.com\/downloadmanager-part-3\/\">DownloadManager \u2013 \u7b2c3\u90e8\u5206<\/a>(blog.stylingandroid.com)<\/p>\n<p>Mark Allison\u7ee7\u7eed\u4e86\u4ed6\u7684\u6709\u5173Android DownloadManager\u7684\u7cfb\u5217\u6587\u7ae0\u3002\u524d\u9762\u6587\u7ae0\u4ed6\u4e3b\u8981\u7740\u773c\u4e8e\u63a7\u5236\u4e2a\u4eba\u4e0b\u8f7d\uff0c\u4e0d\u8fc7\u5728DownloadManager\u81ea\u8eab\u8fd8\u6709\u4e00\u4e9b\u6709\u8da3\u7684\u4e1c\u897f\uff0c\u672c\u6587\u4e2d\u4ed6\u5c06\u63d0\u53ca\u3002<\/p>\n<p><a href=\"https:\/\/medium.com\/inloop\/okhttp-is-quietly-retrying-requests-is-your-api-ready-19489ef35ace#.8pa1c2er5\">OkHttp\u5728\u9ed8\u9ed8\u5730\u91cd\u8bd5\u8bf7\u6c42\u3002\u60a8\u7684API\u51c6\u5907\u597d\u4e86\u5417\uff1f<\/a>(medium.com)<\/p>\n<p>OkHttp\u53ef\u80fd\u4f1a\u201c\u79ef\u6781\u5730\u201d\u4e0d\u65ad\u91cd\u590d\u60a8\u5bf9\u4e00\u4e2a\u6162\u7684\/\u4e0d\u53ef\u9760\u7684\u8fde\u63a5\u7684\u8bf7\u6c42\uff0c\u76f4\u5230\u6210\u529f\u4e3a\u6b62\u3002<\/p>\n<p><a href=\"https:\/\/inthecheesefactory.com\/blog\/how-to-share-access-to-file-with-fileprovider-on-android-nougat\/en\">\u5bf9\u4e8eAndroid N\u7684Intent\u6765\u8bf4File Scheme\u73b0\u5728\u4e0d\u5141\u8bb8\u4e86<\/a>(inthecheesefactory.com)<\/p>\n<p>\"File\" \u4e0d\u518d\u5141\u8bb8\u88ab\u9644\u52a0\u4e8eIntent\uff0c\u5426\u5219\u5c06\u5f15\u53d1\u5f02\u5e38\u5bfc\u81f4\u60a8\u7684App\u7acb\u5373\u5d29\u6e83\u3002\u8fd9\u91cc\u662f\u4e00\u79cd\u89e3\u51b3\u65b9\u6848\uff0c\u5982\u4f55\u8ba9\u5176\u5728Android N\u4e0a\u5de5\u4f5c\u3002<\/p>\n<p><a href=\"http:\/\/zeroturnaround.com\/rebellabs\/using-build-cache-in-android-studio-makes-gradle-build-faster\/\">\u4e3a\u66f4\u5feb\u7684\u6784\u5efa\u800c\u4f7f\u7528Android Studio Gradle\u7684\u6784\u5efa\u7f13\u51b2 <\/a>(zeroturnaround.com)<\/p>\n<p>\u8be6\u8ff0\u4e86\u5373\u5c06\u5728Android Studio 2.3 Canary 2\u4e2d\u4e3aAndroid\u5f00\u53d1\u5448\u73b0\u7684Build Cache\u3002\u8fd9\u53ef\u80fd\u6781\u5927\u5730\u7f29\u77ed\u6784\u5efa\u65f6\u95f4\u3002<\/p>\n<p><a href=\"https:\/\/medium.com\/@arunsasidharan\/so-you-want-to-develop-for-the-next-billion-9eb072c26bc8#.1zklimr3o\">\u79bb\u7ebfApp\u67b6\u6784\uff0c\u4e3a\u4e0b\u4e00\u4e2a\u5341\u4ebf\u6784\u5efa <\/a>(medium.com)<\/p>\n<p>\u56f4\u7ed5\u7740\u201c\u4e3a\u4e86\u4e0b\u4e00\u4e2a\u5341\u4ebf\u800c\u8bbe\u8ba1\u548c\u5f00\u53d1Android Apps\u201d\u6709\u7740\u94fa\u5929\u76d6\u5730\u7684\u5ba3\u4f20\uff0c\u5230\u5904\u5145\u65a5\u7740\u5b83\u7684\u201c\u4e3a\u4ec0\u4e48\u201d\u3001\u201c\u662f\u4ec0\u4e48\u201d\u548c\u201c\u5982\u4f55\u505a\u201d\u7b49\u65b9\u9762\u7684\u4fe1\u606f\u3002Arun Sasidharan\u5206\u4eab\u4e86\u5bf9\u201c\u5982\u4f55\u505a\u201d\u7684\u9ad8\u5c42\u6b21\u7684\u89e3\u91ca\u3002<\/p>\n<p><a href=\"https:\/\/medium.com\/@mosesJay\/writing-custom-lint-rules-and-integrating-them-with-android-studio-inspections-or-carefulnow-c54d72f00d30#.5y0o98bor\">\u4e66\u5199\u81ea\u5b9a\u4e49Lint\u89c4\u5219\u5e76\u6574\u5408\u5b83\u4eec <\/a>(medium.com)<\/p>\n<p>Adam Buicke\u5c55\u793a\u4e86\u5982\u4f55\u521b\u5efa\u81ea\u5b9a\u4e49Lint\u89c4\u5219\u3002<\/p>\n<p><a href=\"https:\/\/medium.com\/airbnb-engineering\/epoxy-airbnbs-view-architecture-on-android-c3e1af150394#.81psxeod6\">Epoxy: Airbnb\u7684Android\u89c6\u56fe\u67b6\u6784<\/a>(medium.com)<\/p>\n<p>Eli Hart\u4ecb\u7ecd\u4e86Airbnb\u7684\u65b0\u5174Epoxy\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u6784\u5efaRecyclerView\u4e2d\u5217\u8868\u7684\u53ef\u7ec4\u5408\u7684\u65b9\u6cd5\u3002<\/p>\n<p><a href=\"https:\/\/medium.com\/inloop\/adventures-with-fragmentstatepageradapter-4f56a643f8e0#.iud5r4ixt\">FragmentStatePagerAdapter\u5927\u5192\u9669 <\/a>(medium.com)<\/p>\n<p>\u8bb8\u591aAndroid\u5f00\u53d1\u4eba\u5458\u5bf9\u4e8eFragmentPagerAdapter\u4e0eFragmentStatePagerAdapter\u4e4b\u95f4\u7684\u4e0d\u540c\u4e4b\u5904\u5f88\u8ff7\u60d1\u751a\u81f3\u4e00\u65e0\u6240\u77e5\u3002Danial Novak\u6df1\u5165\u63a2\u8ba8\u4e86\u5176\u4e0d\u540c\u3002<\/p>\n<h2 id=\"articleHeader1\"><strong>\u5e93&amp;\u4ee3\u7801<\/strong><\/h2>\n<p><a href=\"https:\/\/github.com\/Stocard\/KeepActivitiesTile\">KeepActivitiesTile <\/a>(github.com)<\/p>\n<p>\u4e00\u79cd\u5feb\u901f\u8bbe\u7f6eTile\uff0c\u80fd\u591f\u5feb\u6377\u89e6\u53d1\"Don't keep activities\"\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/race604\/WaveLoading\">WaveLoading <\/a>(github.com)<\/p>\n<p>\u8fd9\u4e2a\u5e93\u63d0\u4f9b\u4e00\u79cd\u6ce2\u6d6a\u52a0\u8f7d\u52a8\u753b\uff0c\u7c7b\u4f3cDrawable\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/square\/coordinators\">coordinators <\/a>(github.com)<\/p>\n<p>\u9488\u5bf9\u60a8\u7684Android\u4e0a\u7684MVWhatever\u7684\u7b80\u5355\u751f\u547d\u5468\u671f\u3002\u4e0d\u5f00\u73a9\u7b11\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/airbnb\/epoxy\">epoxy <\/a>(github.com)<\/p>\n<p>Epoxy\u662f\u4e00\u4e2aAndroid\u5e93\uff0c\u7528\u6765\u6784\u5efaRecyclerView\u4e2d\u7684\u590d\u5408\u5c4f\u5e55\u3002<\/p>\n<p><a href=\"https:\/\/gist.github.com\/tasomaniac\/93cefd97af13e2ea2b2f248affb373bd\">Android\u7684\u5c4f\u5e55\u8bb0\u5f55<\/a>(gist.github.com)<\/p>\n<p>Said Tahsin Dane\u4f18\u5316\u6539\u5199\u4e86\u4e00\u4e2a\u811a\u672c\uff0c\u4ee5\u4fbf\u5728\u6f14\u793a\u6a21\u5f0f\u4e0b\u8bb0\u5f55\u4e00\u4e2a\u8bbe\u5907\u3002<\/p>\n<h2 id=\"articleHeader2\"><strong>\u65b0\u95fb<\/strong><\/h2>\n<p><a href=\"http:\/\/www.androidpolice.com\/2016\/12\/05\/android-platform-distribution-december-2016-kitkat-is-finally-toppled-nougat-doesnt-move-much\/\">Android\u5e73\u53f0\u5206\u5e03\u60c5\u51b5\uff0c2016\u5e742\u6708<\/a>(www.androidpolice.com)<\/p>\n<p>KitKat\u6700\u7ec8\u4e0d\u884c\u4e86\uff0cNougat\u7684\u5730\u4f4d\u57fa\u672c\u6ca1\u6709\u52a8\u6447\u3002<\/p>\n<p><a href=\"https:\/\/sites.google.com\/a\/android.com\/tools\/recent\/androidstudio223isnowavailable\">Android Studio 2.2.3\u73b0\u5728\u53d1\u5e03<\/a>(sites.google.com)<\/p>\n<p>\u8fd9\u662f\u5bf9Android Studio 2.2\u7684\u5c0f\u578b\u66f4\u65b0\u3002\u5b83\u5305\u62ec\u56f4\u7ed5Gradle\uff0cIDE\u6838\u5fc3\u548cLint\u7684\u6f0f\u6d1e\u4fee\u590d\u3002<\/p>\n<p><a href=\"https:\/\/android-developers.blogspot.com\/2016\/12\/welcoming-android-711-nougat.html\">\u6b22\u8fce\u4f7f\u7528Android 7.1.1 Nougat <\/a>(android-developers.blogspot.com)<\/p>\n<p>Android 7.1.1\u662f\u4e00\u4e2a\u589e\u91cf\u53d1\u5e03\uff0c\u4ee5Pixel\u548cPixel XL\u8bbe\u5907\u5df2\u6709\u7279\u6027\u4e3a\u57fa\u7840\uff0c\u4e3a\u7528\u6237\u589e\u52a0\u4e86\u5c11\u91cf\u65b0\u7279\u6027\uff0c\u5728Android7.1\u5e73\u53f0\u7684\u57fa\u7840\u4e0a\u8fdb\u884c\u4e86\u4f18\u5316\u548c\u6f0f\u6d1e\u4fee\u590d\u3002<\/p>\n<p><a href=\"https:\/\/firebase.googleblog.com\/2016\/12\/firebase-crash-reporting-full-release.html\">Firebase Crash Reporting \u6574\u4f53\u53d1\u5e03<\/a>(firebase.googleblog.com)<\/p>\n<p>Firebase Crash Reporting\u73b0\u5728\u6574\u4f53\u53d1\u5e03\u4e86\uff0c\u62e5\u6709\u8bb8\u591a\u65b0\u7279\u6027\u548c\u589e\u5f3a\u529f\u80fd\uff0c\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u8bca\u65ad\u548c\u54cd\u5e94\u5f71\u54cd\u60a8\u7684iOS\u548cAndroid\u79fb\u52a8\u5e94\u7528\u7528\u6237\u7684\u5404\u79cd\u5d29\u6e83\u3002<\/p>\n<h2 id=\"articleHeader3\"><strong>\u89c6\u9891&amp;\u64ad\u5ba2<\/strong><\/h2>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=yBcnL6F1Mh8&amp;feature=youtu.be\">Android\u5bf9\u8bdd: Constraint Layout <\/a>(www.youtube.com)<\/p>\n<p>John Hoford &amp; Nicolas Roard\u544a\u8bc9\u6211\u4eecConstraint Layout\u7684\u201c\u4e3a\u4ec0\u4e48\u201d\u548c\u201c\u662f\u4ec0\u4e48\u201d\uff0c\u5b83\u4e0eLayout Editor\u7684\u5173\u7cfb\uff0c\u5b83\u5bf9\u4e8eAnimations &amp;Transitions\u662f\u5982\u4f55\u6709\u6548\uff0c\u4ee5\u53caConstraintSet\u3002<\/p>\n<p><a href=\"http:\/\/fragmentedpodcast.com\/episodes\/65\/\">\u4e0eTy Smith\u4e00\u8d77\u8ba8\u8bba\u5f00\u53d1\u8005\u5e73\u53f0\u5de5\u7a0b <\/a>(fragmentedpodcast.com)<\/p>\n<p>\u672c\u89c6\u9891\u4e2dKaushik &amp; Donn\u5bf9\u8bddTy Smith\uff0c\u8ba8\u8bba\u4e86\u6709\u5173\u5f00\u53d1\u8005\u5e73\u53f0\u7684\u6240\u6709\u4e8b\u60c5\uff0c\u5176\u4e2d\u5305\u542b\u4e86\u4e00\u7cfb\u5217\u6709\u8da3\u7684\u8bdd\u9898\uff0c\u4f8b\u5982\u6784\u5efa\u53ef\u6d88\u8d39SDKs\uff0c\u6784\u5efa\u62e5\u6709\u4f18\u79c0APIs\u7684\u5e93\uff0c\u4ee5\u53ca\u521b\u5efaAndroid\u96c6\u6210\u7b49\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u82f1\u6587\u539f\u6587\uff1a<a href=\"http:\/\/androidweekly.net\/\">Android Weekly #235<\/a><\/p>\n<p>\u4e2d\u6587\u7ffb\u8bd1\uff1a<a href=\"http:\/\/www.open-open.com\/lib\/view\/www.open-open.com\/lib\/view\/open1481544835646.html\">\u6df1\u5ea6\u5f00\u6e90<\/a><\/p>\n<p>\u8bd1\u8005\uff1a\u9752\u5c9b\u6d77\u8fb9 \u6821\u5bf9\uff1aOPEN\u7f16\u8f91<\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>Android Weekly #235 \u4e2d\u6587\u7248<\/p>\n","protected":false},"author":1,"featured_media":522,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,8],"tags":[19,21],"class_list":["post-930","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-industry-news","category-the-development-of-communication-technology","tag-android","tag-app"],"post_thumbnail_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/05\/64022-3.png?imageView2\/1\/w\/300\/h\/300#","content_first_image":null,"post_medium_image_300":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/05\/64022-3.png?imageView2\/1\/w\/600\/h\/356#","post_thumbnail_image_624":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/05\/64022-3.png","post_frist_image":null,"post_medium_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/05\/64022-3.png?imageView2\/1\/w\/600\/h\/356#","post_large_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/05\/64022-3.png","post_full_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/05\/64022-3.png","post_all_images":[],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":5,"total_comments":0,"category_name":"\u4e1a\u5185\u8d44\u8baf","post_date":"2016-12-13","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2020\/02\/img_5e44112722964.png","avatarurls":[],"related_posts":[],"pageviews":804,"next_post_id":932,"next_post_title":"Android\u6700\u5168\u5f00\u53d1\u8d44\u6e90","previous_post_id":920,"previous_post_title":"Android\u5f00\u53d1\u4eba\u5458\u5e94\u6536\u96c6\u7684\u5de5\u5177\u7c7b\u5408\u96c6\u6574\u7406","_links":{"self":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/comments?post=930"}],"version-history":[{"count":0,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/930\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/media\/522"}],"wp:attachment":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/media?parent=930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/categories?post=930"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/tags?post=930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}