{"id":167591,"date":"2020-10-15T03:37:31","date_gmt":"2020-10-14T19:37:31","guid":{"rendered":"http:\/\/4563.org\/?p=167591"},"modified":"2020-10-15T03:37:31","modified_gmt":"2020-10-14T19:37:31","slug":"jetpack-%e4%ba%ba%e7%94%9f%e8%8b%a6%e7%9f%ad%ef%bc%8c%e8%ae%a9%e8%84%9a%e6%89%8b%e6%9e%b6%e4%b8%ba%e4%bd%a0%e8%8a%82%e7%9c%81%e6%97%b6%e9%97%b4","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=167591","title":{"rendered":"[Jetpack] \u4eba\u751f\u82e6\u77ed\uff0c\u8ba9\u811a\u624b\u67b6\u4e3a\u4f60\u8282\u7701\u65f6\u95f4"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  [Jetpack] \u4eba\u751f\u82e6\u77ed\uff0c\u8ba9\u811a\u624b\u67b6\u4e3a\u4f60\u8282\u7701\u65f6\u95f4               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : KunMinX <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<blockquote>\n<p>\u6e29\u99a8\u63d0\u793a\uff1a \u672c\u6587\u4ee5\u300a\u8ba9\u4eba\u8033\u76ee\u4e00\u65b0\u7684 Jetpack MVVM \u7cbe\u8bb2\u300b\u4f5c\u4e3a\u524d\u7f6e\u77e5\u8bc6\u7684\u94fa\u57ab\uff0c\u5047\u5b9a\u5c0f\u4f19\u4f34\u4eec\u5728\u9605\u8bfb\u672c\u6587\u524d \u5df2\u5bf9\u7cbe\u8bb2\u7bc7\u7684\u5185\u5bb9\u6709\u4e86\u4e00\u5b9a\u7406\u89e3\u3002<\/p>\n<\/blockquote>\n<h2>\u80cc\u666f<\/h2>\n<p>\u4eba\uff0c\u4e0d\u662f\u673a\u5668\uff0c\u4eba\u6ce8\u5b9a\u4f1a\u72af\u9519\u3002<\/p>\n<p>\u5c24\u5176\u662f\u5728 <strong>\u591a\u4eba\u534f\u4f5c\u7684\u8f6f\u4ef6\u5de5\u7a0b\u80cc\u666f\u4e0b<\/strong> \u5feb\u901f\u7248\u672c\u8fed\u4ee3\u7684\u65f6\u5019\u3002<\/p>\n<p>\u6709\u9650\u7684\u6ce8\u610f\u529b\u5e94\u59cb\u7ec8\u653e\u5728\u5200\u5203\u4e0a\uff0c\u56e0\u800c\u90a3\u4e9b\u673a\u68b0\u91cd\u590d\u7684\u6a21\u677f\u4ee3\u7801\uff0c\u5e94\u5728\u540e\u53f0\u81ea\u5df1\u9ed8\u9ed8\u5b89\u6392\u597d\u4e00\u5207\u3001<strong>\u514d\u9664\u56e0\u5404\u79cd\u624b\u5de5\u64cd\u4f5c\u7684\u5931\u8bef \u800c\u9020\u6210\u7684\u4e0d\u53ef\u9884\u671f\u7684\u540e\u679c<\/strong>\u3002<\/p>\n<p>\u811a\u624b\u67b6\u9879\u76ee\u5e94\u8fd0\u800c\u751f\u3002<\/p>\n<p>\u00a0<\/p>\n<h2>\u67b6\u6784\u56fe\u603b\u89c8<\/h2>\n<p>\u811a\u624b\u67b6\u9879\u76ee\u4e0d\u4ec5\u4ec5\u662f\u6211\u4e00\u4e2a\u4eba\u7684\u521b\u4f5c\uff0c\u4e5f\u662f\u96c6\u8bb8\u8bb8\u591a\u591a\u4f18\u79c0\u5f00\u53d1\u8005\u53c2\u4e0e\u6f14\u5316\u7684\u7ed3\u679c\u3002<\/p>\n<p>\u8be5\u9879\u76ee\u4e3b\u8981\u5305\u542b \u8868\u73b0\u5c42\u3001\u9886\u57df\u5c42\u3001\u6570\u636e\u5c42 \u4e09\u5c42\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/10\/20201015_5f885ca35de12.gif\" alt=\"[Jetpack] \u4eba\u751f\u82e6\u77ed\uff0c\u8ba9\u811a\u624b\u67b6\u4e3a\u4f60\u8282\u7701\u65f6\u95f4\" \/><\/p>\n<p>\u811a\u624b\u67b6\u9879\u76ee\u6709 3 \u5b9d\u3002\u8003\u8651\u5230 \u201c\u6309\u9700\u201d \u9009\u7528\u7684\u539f\u5219\uff0c\u73b0\u5df2\u62bd\u53d6\u4e3a \u201c\u4f9d\u8d56\u5e93\u201d \u72ec\u7acb\u7ef4\u62a4\u3002<\/p>\n<ul>\n<li>\u798f\u5229 1\uff1aDataBinding \u4e25\u683c\u6a21\u5f0f<\/li>\n<\/ul>\n<blockquote>\n<p>GitHub\uff1aStrict-DataBinding<\/p>\n<\/blockquote>\n<ul>\n<li>\u798f\u5229 2\uff1aUnPeekLiveData \u53d1\u9001\u4e00\u6b21\u6027\u4e8b\u4ef6<\/li>\n<\/ul>\n<blockquote>\n<p>GitHub\uff1aUnPeek-LiveData<\/p>\n<\/blockquote>\n<ul>\n<li>\u798f\u5229 3\uff1aSmooth-Navigation \u4f7f\u8f6c\u573a\u987a\u6ed1<\/li>\n<\/ul>\n<blockquote>\n<p>GitHub\uff1aSmooth-Navigation<\/p>\n<\/blockquote>\n<ul>\n<li>\n<p>\u901a\u8fc7 Request \u6765\u590d\u7528\u8f6c\u53d1\u903b\u8f91<\/p>\n<\/li>\n<li>\n<p>\u901a\u8fc7 UseCase \u7ba1\u7406\u53ef\u53eb\u505c\u7684\u4e1a\u52a1<\/p>\n<\/li>\n<li>\n<p>\u901a\u8fc7 DataResult \u56de\u8c03\u6570\u636e\u5c42\u7ed3\u679c<\/p>\n<\/li>\n<\/ul>\n<h2>\u7efc\u4e0a<\/h2>\n<p>\u4efb\u4f55\u6280\u672f\u7684\u5b58\u5728\uff0c\u90fd\u662f\u65e8\u5728\u7279\u5b9a\u80cc\u666f\u4e0b\u89e3\u51b3\u7279\u5b9a\u95ee\u9898\uff0c\u67b6\u6784\u6a21\u5f0f\u4e5f\u4e0d\u4f8b\u5916\u3002<\/p>\n<p>\u900f\u8fc7\u8fc7\u53bb\u4e00\u5e74\u7684\u5f00\u6e90\u548c\u5bf9\u9ad8\u9891\u573a\u666f\u7684\u603b\u7ed3\uff0c\u6211\u4eec\u5df2\u4e3a \u201c\u9875\u9762\u5f00\u53d1\u201d \u573a\u666f\u4e0b\u5b58\u5728\u7684\u9ad8\u9891\u9690\u60a3\u63d0\u4f9b\u4e86 \u201c\u76f8\u5e94\u89e3\u201d\u3002<\/p>\n<p>\u968f\u7740\u80cc\u666f\u56e0\u7d20\u7684\u4e0d\u65ad\u53d8\u5316\uff0c\u6280\u672f\u4ea6\u5904\u4e8e\u4e0d\u65ad\u7684\u53d1\u5c55\u4e2d\uff0c\u56e0\u800c\u300a GitHub\uff1aJetpack MVVM \u811a\u624b\u67b6\u300b\u4ecd\u671d\u7740\u8d8b\u4e8e\u6210\u719f\u7684\u65b9\u5411\u4e0d\u65ad\u5b8c\u5584\u3002<\/p>\n<p>\u4eca\u540e\u5982\u5728\u4e2a\u4eba\u9879\u76ee\u4e2d \u7528\u5230\u4e86\u8be5\u811a\u624b\u67b6\u9879\u76ee\u7684\u4f9d\u8d56\u5e93\uff0c\u53ef\u968f\u65f6\u5728 issue \u533a\u63d0\u4f9b\u9879\u76ee\u4fe1\u606f\uff0c<strong>\u5982\u6b64\u53ef\u4ee5\u8ba9\u66f4\u591a\u7684\u5f00\u53d1\u8005 \u6709\u673a\u4f1a\u8ba4\u8bc6\u4f60\u7684\u5f00\u6e90\u4f5c\u54c1<\/strong>\u3002<\/p>\n<blockquote>\n<p>\u5212\u91cd\u70b9       <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>1<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3717810\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : KunMinX <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8003\u8651\u5230\u540e\u7eed\u5f00\u53d1\u8005\u67e5\u9605\u7684\u65b9\u4fbf\uff0c\u76f8\u5173\u5f00\u6e90\u9879\u76ee\u8bf7\u5728 issue \u533a\u63d0\u4ea4\uff0c\u6211\u770b\u5230\u4e86\u4f1a\u4e88\u4ee5\u5904\u7406\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>[Jetpack] \u4eba\u751f\u82e6\u77ed\uff0c\u8ba9\u811a&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/167591"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=167591"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/167591\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=167591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=167591"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=167591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}