{"id":744,"date":"2023-02-26T15:51:31","date_gmt":"2023-02-26T07:51:31","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=744"},"modified":"2023-04-29T17:06:14","modified_gmt":"2023-04-29T09:06:14","slug":"summary-of-pitfalls-encountered-in-android-development","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/02\/26\/summary-of-pitfalls-encountered-in-android-development\/","title":{"rendered":"Android\u5f00\u53d1\u9047\u5230\u7684\u5751\u6c47\u603b"},"content":{"rendered":"<p>\u4ee5\u4e0b\u662f\u672c\u4eba\u5728\u5f00\u53d1Android APP\u7684\u586b\u5751\u4e4b\u8def\u6c47\u603b<\/p>\n<ul>\n<li>\n<p>\u5751\uff1a\u9632\u6b62Toolbar\u88ab\u8f93\u5165\u6cd5\u9876\u4e0a\u53bb\u7684\u89e3\u51b3\u65b9\u6848 &#8211; \u4f7f\u7528ScrollView\uff0c\u4e0d\u80fd\u4f7f\u7528NestedScrollView<\/p>\n<\/li>\n<li>\n<p>\u5751\uff1a\u5173\u4e8eOKHTTP\uff0c\u4e00\u65e6\u67d0\u4e2a\u8bf7\u6c42\u6dfb\u52a0\u4e86\u62e6\u622a\u5668\uff0c\u90a3\u4e48\u6b64\u62e6\u622a\u5668\u5728\u5355\u4f8b\u4e0b\u662f\u5168\u7a0b\u6709\u6548\u7684\uff0c\u5982\u679c\u4e0d\u60f3\u5728\u540e\u7eed\u7684\u8bf7\u6c42\u7ee7\u7eed\u4f7f\u7528\u8fd9\u4e2a\u62e6\u622a\u5668\uff0c\u90a3\u4e48\u8bb0\u5f97remove\u6389\u3002\u53e6\u5916\u7f51\u7edc\u62e6\u622a\u5668networkInterceptors\u548c\u5e94\u7528\u62e6\u622a\u5668interceptors\u4e0d\u8981\u641e\u6df7\u4e86\u3002<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u662f\u672c\u4eba\u5728\u5f00\u53d1Android APP\u7684\u586b\u5751\u4e4b\u8def\u6c47\u603b \u5751\uff1a\u9632\u6b62Toolbar\u88ab\u8f93\u5165\u6cd5\u9876\u4e0a\u53bb\u7684\u89e3\u51b3\u65b9\u6848 &#038;#82 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-744","post","type-post","status-publish","format-standard","hentry","category-android-basic"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=744"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/744\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}