{"id":292685,"date":"2019-07-29T09:00:34","date_gmt":"2019-07-29T09:00:34","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=292685"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=292685","title":{"rendered":"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u044f\u0437\u044b\u043a\u0430 \u0432 Android-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/7h\/x5\/uo\/7hx5uoccyynedwfsrjlwxylmkuq.png\" alt=\"\u0418\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0434\u043b\u044f \u0441\u0442\u0430\u0442\u044c\u0438\" title=\"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u044f\u0437\u044b\u043a\u0430 \u0432 Android-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438\"><\/p>\n<p>  <\/p>\n<p>\u0415\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u044f\u0437\u044b\u043a\u0430 \u0432 Single-Activity \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438. \u0421\u0442\u0435\u043a \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435 \u043d\u0435 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043c, \u0433\u0434\u0435 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u043b \u044f\u0437\u044b\u043a. \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u044d\u043a\u0440\u0430\u043d\u044b, \u043e\u043d\u0438 \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u043c\u0438. \u0410 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0447\u0438\u0441\u0435\u043b, \u0434\u0435\u043d\u0435\u0436\u043d\u044b\u0445 \u0441\u0443\u043c\u043c \u0438 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0443\u0434\u0438\u0432\u0438\u0442\u044c \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u043e\u0432.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/yw\/ft\/ff\/ywftfflsl4345nkhxq7a4wqfe2i.jpeg\" alt=\"Hebrew, motherfucker! Do you speak it?!\" title=\"\u0421\u044d\u043c\u044e\u044d\u043b \u0414\u0436\u0435\u043a\u0441\u043e\u043d \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043b\u0438 \u0442\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0432\u0440\u0438\u0442?\"><\/p>\n<p>  <\/p>\n<h2 id=\"o-chem-poydet-rech-a-o-chem-ne-poydet\">\u041e \u0447\u0435\u043c \u043f\u043e\u0439\u0434\u0435\u0442 \u0440\u0435\u0447\u044c, \u0430 \u043e \u0447\u0435\u043c \u043d\u0435 \u043f\u043e\u0439\u0434\u0435\u0442?<\/h2>\n<p>  <\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043e:<\/p>\n<p>  <\/p>\n<ul>\n<li><strong>\u0422\u0435\u043e\u0440\u0438\u0438<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043b\u0435\u0436\u0438\u0442 \u0432 \u043e\u0441\u043d\u043e\u0432\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u0442\u0440\u043e\u043a, \u0438 \u0434\u0435\u0442\u0430\u043b\u044f\u0445 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044d\u0442\u0438\u043c \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0442\u0441\u044f. \u0422\u043e \u0435\u0441\u0442\u044c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u043b\u043e \u0431\u044b \u0432\u0430\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443.<\/li>\n<li><strong>\u0420\u0435\u0441\u0443\u0440\u0441\u0430\u0445<\/strong> \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0445, \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0445 \u0438 \u043f\u0440\u043e\u0447\u0438\u0445. \u041e \u0442\u043e\u043c, \u043a\u0430\u043a\u0438\u0435 \u043a\u0432\u0430\u043b\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043d\u0430 \u0430\u0440\u0430\u0431\u0441\u043a\u043e\u043c \u0434\u043e\u043b\u0436\u043d\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0441\u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u043b\u0435\u0432\u043e, \u0430 \u043a\u0430\u043a\u0438\u0435 \u043d\u0435\u0442, \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0442\u043e\u043d\u043a\u043e\u0441\u0442\u044f\u0445.<\/li>\n<li><strong>\u041f\u0440\u043e\u0446\u0435\u0441\u0441\u0435<\/strong> \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c. \u041a\u0430\u043a \u0435\u0433\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435\u043c \u0436\u0438\u043b\u043e\u0441\u044c \u0445\u043e\u0440\u043e\u0448\u043e, \u0434\u0430\u0436\u0435 iOS-\u043d\u0438\u043a\u0430\u043c.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0410 \u043f\u043e\u0439\u0434\u0435\u0442 \u0440\u0435\u0447\u044c \u043e:<\/p>\n<p>  <\/p>\n<ul>\n<li><strong>\u041f\u0440\u0430\u043a\u0442\u0438\u043a\u0435.<\/strong> \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0437\u0430\u0434\u0430\u0447\u0443, \u0435\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0441 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430\u043c\u0438, \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438 \u0438 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u043a\u043e\u0434\u0430.<\/li>\n<li><strong>API SDK<\/strong>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f. <\/li>\n<li><strong>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044f\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439<\/strong> \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0435\u0433\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u0432, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0442\u043e\u0438\u0442 \u0437\u043d\u0430\u0442\u044c \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u0430\u043c.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"chto-my-hotim-sdelat\">\u0427\u0442\u043e \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c?<\/h2>\n<p>  <\/p>\n<p>\u041f\u0443\u0441\u0442\u044c \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0435\u0441\u0442\u044c \u044d\u043a\u0440\u0430\u043d \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438, \u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043d\u0435\u0433\u043e \u043f\u0430\u0440\u0443 \u043d\u043e\u0432\u044b\u0445 \u043f\u0443\u043d\u043a\u0442\u043e\u0432, \u043e\u0434\u0438\u043d \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b \u0431\u044b \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u044f\u0437\u044b\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0432\u0430\u043b\u044e\u0442\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0434\u0435\u043d\u0435\u0436\u043d\u044b\u0435 \u0441\u0443\u043c\u043c\u044b. \u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/tb\/gg\/hq\/tbgghq7pis0df0wbbhf7-sfpex8.jpeg\" alt=\"\u042d\u043a\u0440\u0430\u043d \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f Telegram. \u042f\u0437\u044b\u043a \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439.\" title=\"\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f Telegram\"><\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/9n\/iy\/qt\/9niyqtdrhg3j_fou4ybou_vjrr4.jpeg\" alt=\"\u042d\u043a\u0440\u0430\u043d \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f Telegram. \u042f\u0437\u044b\u043a \u0430\u0440\u0430\u0431\u0441\u043a\u0438\u0439.\" title=\"\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f Telegram\"><\/p>\n<p>  <\/p>\n<p>\u041a\u0440\u043e\u043c\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u0442\u0435\u043a\u0441\u0442\u0430 \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432\u0435\u0440\u0441\u0442\u043a\u0438 \u0441\u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u043b\u0435\u0432\u043e, \u044d\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u0444\u043e\u0440\u043c\u0430\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u043b\u043e\u0441\u044c \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u043b\u043e\u043a\u0430\u043b\u0438.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/3z\/bj\/bf\/3zbjbfbkwi_bso_qauh6kzdccak.jpeg\" alt=\"\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439.\" title=\"\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 NOT-A-PORTER \u0438 ASOS\"><\/p>\n<p>  <\/p>\n<h2 id=\"arhitekturnoe-reshenie\">\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c, \u0447\u0442\u043e \u043d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 <a href=\"https:\/\/habr.com\/ru\/company\/redmadrobot\/blog\/426617\">Single-Activity \u043f\u043e\u0434\u0445\u043e\u0434\u043e\u043c<\/a>. \u0422\u043e\u0433\u0434\u0430 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u044f\u0437\u044b\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sb\/hs\/ea\/sbhseavufkn3zsqnzkr8h5h9fei.png\" alt=\"\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u044f.\" title=\"\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f\"><\/p>\n<p>  <\/p>\n<p><code>SettingsInteractor<\/code> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u044f\u0437\u044b\u043a\u0430. \u041e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0433\u043e \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0446\u0438\u044e \u043d\u0430\u0434 <code>SettingsInteractor<\/code> \u043f\u043e <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%9F%D1%80%D0%B8%D0%BD%D1%86%D0%B8%D0%BF_%D1%80%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F_%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D1%84%D0%B5%D0%B9%D1%81%D0%B0\">\u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430<\/a>. \u041d\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0435 \u043d\u0435\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0434\u0435\u0442\u0430\u043b\u0438 \u043e\u043f\u0443\u0449\u0435\u043d\u044b.<\/p>\n<p>  <\/p>\n<p><code>AppActivity<\/code> \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043d\u0430 \u043d\u043e\u0432\u044b\u0439, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0434\u043b\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430.<\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">override fun attachBaseContext(base: Context) {     super.attachBaseContext(applySelectedAppLanguage(base)) }  private fun applySelectedAppLanguage(context: Context): Context {     val locale = settingsInteractor.getUserSelectedLanguageBlocking()     val newConfig = Configuration(context.resources.configuration)     Locale.setDefault(locale)     newConfig.setLocale(locale)     return context.createConfigurationContext(newConfig) }<\/code><\/pre>\n<p>  <\/p>\n<p><code>AppPresenter<\/code> \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u044f\u0437\u044b\u043a\u0430 \u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u044f\u0435\u0442 View \u043e\u0431 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u0445.<\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">override fun onFirstViewAttach() {     super.onFirstViewAttach()     subscribeToLanguageUpdates() }  private fun subscribeToLanguageUpdates() {     settingsInteractor         .getUserSelectedLanguageUpdates()         .subscribe(             { newLang -&gt;                 viewState.applyNewAppLanguage(newLang)             },             { error -&gt;                 errorHandler.handle(error)             }         )         .disposeOnDestroy() }<\/code><\/pre>\n<p>  <\/p>\n<p><code>AppActivity<\/code> \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u0441\u043c\u0435\u043d\u0435 \u044f\u0437\u044b\u043a\u0430 \u043f\u0435\u0440\u0435\u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">override fun applyNewAppLanguage(lang: Locale) = recreate() <\/code><\/pre>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zh\/jy\/qq\/zhjyqqd9z8l0iqpvw3vvsbf4pza.png\" alt=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0441\u0442\u0435\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u043e\u0432.\" title=\"\u041f\u0440\u0438\u043c\u0435\u0440 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0441\u0442\u0435\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u043e\u0432\"><\/p>\n<p>  <\/p>\n<p><code>AppActivity<\/code> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438. \u0412\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u044d\u043a\u0440\u0430\u043d\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u043c\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0430\u043a\u0442\u0438\u0432\u0438\u0442\u0438 \u0441\u0442\u0435\u043a \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439. \u041f\u0440\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0435 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u044d\u043a\u0440\u0430\u043d\u044b \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u0435\u0440\u0435\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u043c\u0438. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u043f\u0438\u0441\u043a\u0435 \u0432\u044b\u0431\u043e\u0440\u0430 \u044f\u0437\u044b\u043a\u0430 \u0438 \u0443\u0432\u0438\u0434\u0438\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0441\u0432\u043e\u0435\u0433\u043e \u0432\u044b\u0431\u043e\u0440\u0430 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p>  <\/p>\n<h2 id=\"formatirovanie-chisel-denezhnyh-summ-i-procentov\">\u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0438\u0441\u0435\u043b, \u0434\u0435\u043d\u0435\u0436\u043d\u044b\u0445 \u0441\u0443\u043c\u043c \u0438 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432<\/h2>\n<p>  <\/p>\n<p>\u041a\u0440\u043e\u043c\u0435 \u0437\u0430\u043c\u0435\u043d\u044b \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u2013 \u0447\u0438\u0441\u043b\u0430, \u0434\u0435\u043d\u0435\u0436\u043d\u044b\u0435 \u0441\u0443\u043c\u043c\u044b, \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u044b. \u041f\u0443\u0441\u0442\u044c \u044d\u0442\u0443 \u0437\u0430\u0434\u0430\u0447\u0443 \u043a\u0430\u0436\u0434\u0430\u044f View \u0434\u0435\u043b\u0435\u0433\u0438\u0440\u0443\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c\u0443 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0443, \u043d\u0430\u0437\u043e\u0432\u0435\u043c \u0435\u0433\u043e <code>UiLocalizer<\/code>.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/go\/oy\/ed\/gooyedswmsj4ahlx3neagfihxec.png\" alt=\"\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0434\u043b\u044f UiLocalizer.\" title=\"\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0434\u043b\u044f UiLocalizer\"><\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u0430 \u0432 \u0441\u0442\u0440\u043e\u043a\u0443 <code>UiLocalizer<\/code> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u044b <code>NumberFormat<\/code>. <\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">private var numberFormat = NumberFormat.getNumberInstance(lang)  private var percentFormat = NumberFormat.getPercentInstance(lang)  private fun getNumberFormatForCurrency(currency: Currency) =     NumberFormat         .getCurrencyInstance(lang)         .also { it.currency = currency }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0432\u0430\u043b\u044e\u0442\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e. <\/p>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u0435 \u0442\u0430\u043a\u0442\u044b CPU \u0438 \u0431\u0438\u0442\u044b \u043f\u0430\u043c\u044f\u0442\u0438, \u0430 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432\u0430\u043b\u044e\u0442\u044b \u0438 \u044f\u0437\u044b\u043a\u0430 \u2013 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0438 \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0442\u043e \u0437\u0434\u0435\u0441\u044c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u043a\u044d\u0448.<\/p>\n<p>  <\/p>\n<h2 id=\"predstavlenie-yazykov-i-valyut\">\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u044f\u0437\u044b\u043a\u043e\u0432 \u0438 \u0432\u0430\u043b\u044e\u0442<\/h2>\n<p>  <\/p>\n<p>\u042d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u044b \u043a\u043b\u0430\u0441\u0441\u0430 <code>Locale<\/code> \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u043e <a href=\"https:\/\/en.wikipedia.org\/wiki\/IETF_language_tag\">\u044f\u0437\u044b\u043a\u043e\u0432\u043e\u043c\u0443 \u0442\u0435\u0433\u0443<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445\u0431\u0443\u043a\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u044f\u0437\u044b\u043a\u0430 \u0438 \u0434\u0432\u0443\u0445\u0431\u0443\u043a\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0440\u0435\u0433\u0438\u043e\u043d\u0430. \u0410 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u044b \u043a\u043b\u0430\u0441\u0441\u0430 <code>Currency<\/code> \u2013 \u043f\u043e <a href=\"https:\/\/en.wikipedia.org\/wiki\/ISO_4217\">\u0442\u0440\u0435\u0445\u0431\u0443\u043a\u0432\u0435\u043d\u043d\u043e\u043c\u0443 ISO \u043a\u043e\u0434\u0443<\/a>. \u0412 \u044d\u0442\u043e\u043c \u0432\u0438\u0434\u0435 \u044f\u0437\u044b\u043a \u0438 \u0432\u0430\u043b\u044e\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043d\u0430 \u0434\u0438\u0441\u043a \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043f\u043e \u0441\u0435\u0442\u0438, \u0438 \u0442\u043e\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u043e. \u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u044b.<\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">\/\/ IETF BCP 47 language tag string. private val langs = arrayOf(     Locale.forLanguageTag(\"ru-RU\"),     Locale.forLanguageTag(\"en-US\"),     Locale.forLanguageTag(\"en-GB\"),     Locale.forLanguageTag(\"he-IL\"),     Locale.forLanguageTag(\"ar-SA\"),     Locale.forLanguageTag(\"ar-AE\"),     Locale.forLanguageTag(\"fr-FR\"),     Locale.forLanguageTag(\"fr-CH\"),     Locale.forLanguageTag(\"de-DE\"),     Locale.forLanguageTag(\"de-CH\"),     Locale.forLanguageTag(\"da-DK\") )  \/\/ ISO 4217 code of the currency. private val currencies = arrayListOf(     Currency.getInstance(\"RUB\"),     Currency.getInstance(\"USD\"),     Currency.getInstance(\"GBP\"),     Currency.getInstance(\"ILS\"),     Currency.getInstance(\"SAR\"),     Currency.getInstance(\"AED\"),     Currency.getInstance(\"EUR\"),     Currency.getInstance(\"CHF\"),     Currency.getInstance(\"DKK\") )<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"osobennosti-formatirovaniya-chislovyh-znacheniy\">\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439<\/h2>\n<p>  <\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0438\u0441\u0435\u043b \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0440\u0435\u0433\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430\u043c\u0438 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0437\u043e\u0439\u0442\u0438\u0441\u044c \u0441 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u043c. \u0421\u0438\u043c\u0432\u043e\u043b \u0432\u0430\u043b\u044e\u0442\u044b \u0438\u043b\u0438 \u0435\u0435 \u0442\u0440\u0435\u0445\u0431\u0443\u043a\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443. \u0417\u043d\u0430\u043a \u043c\u0438\u043d\u0443\u0441\u0430 \u0443 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u0435\u043d\u0435\u0436\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0432 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u0441\u0442\u0430\u0445, \u0430 \u043a\u043e\u0435-\u0433\u0434\u0435 \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0435\u0433\u043e \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0441\u043a\u043e\u0431\u043a\u0438. \u0417\u043d\u0430\u043a \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u0430 \u043c\u043e\u0436\u0435\u0442 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0442\u0435\u043c \u0437\u043d\u0430\u043a\u043e\u043c, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043c\u044b \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438. <\/p>\n<p>  <\/p>\n<p>\u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0440\u0435\u0433\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0438\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u0430 \u0438 \u0441\u0443\u0444\u0444\u0438\u043a\u0441\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b, \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f \u0442\u044b\u0441\u044f\u0447\u043d\u044b\u0445 \u0438 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f, \u0430 \u043e\u043d\u0438 \u0440\u0430\u0437\u043d\u044b\u0435 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043b\u043e\u043a\u0430\u043b\u0435\u0439.<\/p>\n<p>  <\/p>\n<h3 id=\"chisla\">\u0427\u0438\u0441\u043b\u0430<\/h3>\n<p>  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<thead>\n<tr>\n<th>Language<\/th>\n<th>Negative Prefix<\/th>\n<th>Negative Suffix<\/th>\n<th>Positive Prefix<\/th>\n<th>Positive Suffix<\/th>\n<th>Grouping Separator<\/th>\n<th>Decimal Separator<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>ru-RU<\/td>\n<td>&#171;-&#171;<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>&#187; &#171;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<tr>\n<td>en-US<\/td>\n<td>&#171;-&#171;<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>&#171;,&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<\/tr>\n<tr>\n<td>iw-IL<\/td>\n<td>&#171;-&#171;<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>&#171;,&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<\/tr>\n<tr>\n<td>ar-AE<\/td>\n<td>&#171;-&#171;<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>&#171;\u066c&#187;<\/td>\n<td>&#171;\u066b&#187;<\/td>\n<\/tr>\n<tr>\n<td>fr-FR<\/td>\n<td>&#171;-&#171;<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>&#187; &#171;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<tr>\n<td>de-DE<\/td>\n<td>&#171;-&#171;<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>&#171;.&#187;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<tr>\n<td>de-CH<\/td>\n<td>&#171;-&#171;<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>&#171;&#8216;&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<\/tr>\n<tr>\n<td>da-DK<\/td>\n<td>&#171;-&#171;<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>&#171;.&#187;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>  <\/p>\n<h3 id=\"valyuty\">\u0412\u0430\u043b\u044e\u0442\u044b<\/h3>\n<p>  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<thead>\n<tr>\n<th>Language<\/th>\n<th>Negative Prefix<\/th>\n<th>Negative Suffix<\/th>\n<th>Positive Prefix<\/th>\n<th>Positive Suffix<\/th>\n<th>Grouping Separator<\/th>\n<th>Decimal Separator<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>ru-RU<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#187; \u20bd&#187;<\/td>\n<td><\/td>\n<td>&#187; \u20bd&#187;<\/td>\n<td>&#187; &#171;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<tr>\n<td>en-US<\/td>\n<td>&#171;-$&#187;<\/td>\n<td><\/td>\n<td>&#171;$&#187;<\/td>\n<td><\/td>\n<td>&#171;,&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<\/tr>\n<tr>\n<td>iw-IL<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#187; \u20aa&#187;<\/td>\n<td><\/td>\n<td>&#187; \u20aa&#187;<\/td>\n<td>&#171;,&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<\/tr>\n<tr>\n<td>ar-AE<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#187; \u062f.\u0625.\u200f&#187;<\/td>\n<td><\/td>\n<td>&#187; \u062f.\u0625.\u200f&#187;<\/td>\n<td>&#171;\u066c&#187;<\/td>\n<td>&#171;\u066b&#187;<\/td>\n<\/tr>\n<tr>\n<td>fr-FR<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#187; \u20ac&#187;<\/td>\n<td><\/td>\n<td>&#187; \u20ac&#187;<\/td>\n<td>&#187; &#171;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<tr>\n<td>de-DE<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#187; \u20ac&#187;<\/td>\n<td><\/td>\n<td>&#187; \u20ac&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<tr>\n<td>de-CH<\/td>\n<td>&#171;CHF-&#171;<\/td>\n<td><\/td>\n<td>&#171;CHF &#171;<\/td>\n<td><\/td>\n<td>&#171;&#8216;&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<\/tr>\n<tr>\n<td>da-DK<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#187; kr.&#187;<\/td>\n<td><\/td>\n<td>&#187; kr.&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>  <\/p>\n<h3 id=\"procenty\">\u041f\u0440\u043e\u0446\u0435\u043d\u0442\u044b<\/h3>\n<p>  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<thead>\n<tr>\n<th>Language<\/th>\n<th>Negative Prefix<\/th>\n<th>Negative Suffix<\/th>\n<th>Positive Prefix<\/th>\n<th>Positive Suffix<\/th>\n<th>Grouping Separator<\/th>\n<th>Decimal Separator<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>ru-RU<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#171;%&#187;<\/td>\n<td><\/td>\n<td>&#171;%&#187;<\/td>\n<td>&#187; &#171;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<tr>\n<td>en-US<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#171;%&#187;<\/td>\n<td><\/td>\n<td>&#171;%&#187;<\/td>\n<td>&#171;,&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<\/tr>\n<tr>\n<td>iw-IL<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#171;%&#187;<\/td>\n<td><\/td>\n<td>&#171;%&#187;<\/td>\n<td>&#171;,&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<\/tr>\n<tr>\n<td>ar-AE<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#187; \u066a&#187;<\/td>\n<td><\/td>\n<td>&#187; \u066a&#187;<\/td>\n<td>&#171;\u066c&#187;<\/td>\n<td>&#171;\u066b&#187;<\/td>\n<\/tr>\n<tr>\n<td>fr-FR<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#187; %&#187;<\/td>\n<td><\/td>\n<td>&#187; %&#187;<\/td>\n<td>&#187; &#171;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<tr>\n<td>de-DE<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#187; %&#187;<\/td>\n<td><\/td>\n<td>&#187; %&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<tr>\n<td>de-CH<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#171;%&#187;<\/td>\n<td><\/td>\n<td>&#171;%&#187;<\/td>\n<td>&#171;&#8216;&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<\/tr>\n<tr>\n<td>da-DK<\/td>\n<td>&#171;-&#171;<\/td>\n<td>&#187; %&#187;<\/td>\n<td><\/td>\n<td>&#187; %&#187;<\/td>\n<td>&#171;.&#187;<\/td>\n<td>&#171;,&#187;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>  <\/p>\n<p>\u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f Android SDK \u0438 JDK \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u043c\u0438. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u0441\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435, \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u043d\u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430\u0445. <\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/uw\/eg\/n2\/uwegn2pl4h_ytpg-lahlsg6-_4a.png\" alt=\"\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0440\u0430\u0437\u043d\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 Android \u0438 JDK.\" title=\"\u0420\u0430\u0437\u043d\u043e\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u0435\u043d\u0435\u0436\u043d\u044b\u0445 \u0441\u0443\u043c\u043c \u0432 \u0434\u043e\u043b\u043b\u0430\u0440\u0430\u0445 \u0421\u0428\u0410 (\u0440\u0435\u0433\u0438\u043e\u043d \u2013 \u0421\u0428\u0410) \u0438 \u0434\u0430\u0442\u0441\u043a\u043e\u0439 \u043a\u0440\u043e\u043d\u0435 (\u0440\u0435\u0433\u0438\u043e\u043d \u2013 \u0414\u0430\u043d\u0438\u044f)\"><\/p>\n<p>  <\/p>\n<h2 id=\"decimalformat\">DecimalFormat<\/h2>\n<p>  <\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c <code>NumberFormat<\/code> \u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0435\u0445 \u0438\u043b\u0438 \u0438\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043a\u043b\u0430\u0441\u0441\u0430 <code>DecimalFormat<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u043c\u0438. \u041f\u0440\u0438\u0432\u0435\u0434\u044f \u043e\u0431\u044a\u0435\u043a\u0442 \u043a \u0442\u0438\u043f\u0443 <code>DecimalFormat<\/code> \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0430, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u0441\u043b\u043e\u043c\u0430\u0442\u044c. \u041d\u043e \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u043a\u043b\u043e\u043d\u044f\u0442\u044c\u0441\u044f \u0434\u0430\u043d\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ue\/dd\/dm\/uedddmjn3pzf6gaotxfxkdqn9e8.png\" alt=\"\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0434\u043b\u044f DecimalFormat.\" title=\"\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u043e\u0439 \u0438 \u0430\u0440\u0430\u0431\u0441\u043a\u043e\u0439 \u043b\u043e\u043a\u0430\u043b\u0435\u0439. \u0412\u0430\u043b\u044e\u0442\u0430 \u2013 \u043d\u043e\u0432\u044b\u0439 \u0438\u0437\u0440\u0430\u0438\u043b\u044c\u0441\u043a\u0438\u0439 \u0448\u0435\u043a\u0435\u043b\u044c\"><\/p>\n<p>  <\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0435\u0441\u0442, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u043b\u0430\u0434\u0438\u0442\u044c\u0441\u044f \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0435\u043c. \u041d\u0435 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043b\u043e\u043a\u0430\u043b\u0435\u0439 \u043e\u0434\u043d\u0430 \u0438 \u0442\u0430 \u0436\u0435 \u0432\u0430\u043b\u044e\u0442\u0430 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u043c.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/rs\/kf\/hk\/rskfhk3dizmpqsb8hxlorqeb3n4.png\" alt=\"\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0438\u0441\u0435\u043b.\" title=\"\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0438\u0441\u0435\u043b\"><\/p>\n<p>  <\/p>\n<h2 id=\"v-itoge\">\u0412 \u0438\u0442\u043e\u0433\u0435<\/h2>\n<p>  <\/p>\n<p>\u041e\u0431\u0449\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zm\/ue\/fj\/zmuefj5ftmj3wbn_3eomhr4tq5w.png\" alt=\"\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438.\" title=\"\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432\"><\/p>\n<p>  <\/p>\n<p>\u0416\u0438\u0437\u043d\u0435\u043d\u043d\u044b\u0439 \u0446\u0438\u043a\u043b <code>AppActivity<\/code> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u044b\u043c \u0446\u0438\u043a\u043b\u043e\u043c \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0435\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u044f\u0437\u044b\u043a. \u0410 \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0430\u043a\u0442\u0438\u0432\u0438\u0442\u0438 \u043e\u0434\u043d\u0430, \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 \u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u044f\u0437\u044b\u043a\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u2013 \u0432 <code>AppPresenter<\/code>.<\/p>\n<p>  <\/p>\n<p>\u041a\u0430\u043a \u043c\u044b \u0443\u0432\u0438\u0434\u0435\u043b\u0438, \u0440\u0435\u0433\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0432\u044b\u0432\u043e\u0434\u0430 \u0447\u0438\u0441\u0435\u043b \u043d\u0435\u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u044b. \u041d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0436\u0435\u0441\u0442\u043a\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0435\u0434\u0438\u043d\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u043d\u0430 \u0432\u0441\u0435 \u0441\u043b\u0443\u0447\u0430\u0438 \u0436\u0438\u0437\u043d\u0438. \u041b\u0443\u0447\u0448\u0435 \u0434\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 SDK \u0438 \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0447\u0438\u0441\u043b\u0430 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043f\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0443, \u0430 \u043d\u0435 \u043a\u0430\u043a \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u043d\u043e \u043d\u0430 \u043c\u0430\u043a\u0435\u0442\u0430\u0445.<\/p>\n<p>  <\/p>\n<h2 id=\"kak-prosche-testirovat-bonus\">\u041a\u0430\u043a \u043f\u0440\u043e\u0449\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c? (\u0431\u043e\u043d\u0443\u0441)<\/h2>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0444\u043b\u0430\u0433\u043e\u043c.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">android {   ...   buildTypes {     debug {       pseudoLocalesEnabled true     }   }   ... }<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0443\u044e \u043f\u0441\u0435\u0432\u0434\u043e\u043b\u043e\u043a\u0430\u043b\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/3a\/iy\/sp\/3aiyspui2sugx8rhhzhnrpotqls.jpeg\" alt=\"\u042d\u043a\u0440\u0430\u043d \u0432\u044b\u0431\u043e\u0440\u0430 \u044f\u0437\u044b\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.\" title=\"\u0412\u044b\u0431\u043e\u0440 \u043f\u0441\u0435\u0432\u0434\u043e\u043b\u043e\u043a\u0430\u043b\u0438\"><\/p>\n<p>  <\/p>\n<p>\u0418 \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c, \u043a\u0430\u043a \u0435\u0434\u0435\u0442 \u0432\u0435\u0440\u0441\u0442\u043a\u0430 \u0438\u0437-\u0437\u0430 \u0434\u043b\u0438\u043d\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430, \u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b UI \u0443\u043f\u043e\u0440\u043d\u043e \u043d\u0435 \u0445\u043e\u0442\u044f\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0441\u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u043b\u0435\u0432\u043e.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/eh\/-w\/gq\/eh-wgq3jbt_khgtrhdje84ogjbk.jpeg\" alt=\"\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u044d\u0444\u0444\u0435\u043a\u0442\u0430 \u043f\u0441\u0435\u0432\u0434\u043e\u043b\u043e\u043a\u0430\u043b\u0435\u0439.\" title=\"\u041f\u0441\u0435\u0432\u0434\u043e\u043b\u043e\u043a\u0430\u043b\u0438 \u0432 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0438\"><\/p>\n<p>  <\/p>\n<p>\u0411\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432 <a href=\"https:\/\/developer.android.com\/guide\/topics\/resources\/pseudolocales\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>.<\/p>\n<p>  <\/p>\n<p>\u0421\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043f\u0441\u0435\u0432\u0434\u043e\u043b\u043e\u043a\u0430\u043b\u0438 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u0434\u043c\u0435\u043d\u044f\u0435\u0442\u0435 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u043a\u0430\u043a \u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u0432\u044b\u0448\u0435. \u0412\u044b \u0432\u0435\u0434\u044c \u043f\u043e\u0434\u043c\u0435\u043d\u044f\u0435\u0442\u0435 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <code>en-XA<\/code> \u0438 <code>ar-XB<\/code> \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u044b\u0431\u043e\u0440\u0430 \u044f\u0437\u044b\u043a\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0435. \u0425\u043e\u0440\u043e\u0448\u0435\u0439 \u0432\u0430\u043c \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0445\u043e\u0440\u043e\u0448\u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f!<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/gt\/jc\/p2\/gtjcp2x5bnicyqsetf5_pkzokni.jpeg\" alt=\"Thanks\" title=\"\u0421\u044d\u043c\u044e\u044d\u043b \u0414\u0436\u0435\u043a\u0441\u043e\u043d \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u0442\u0435\u0431\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e\"><\/p>\n<\/div>\n<p>               <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/redmadrobot\/blog\/461085\/\"> https:\/\/habr.com\/ru\/company\/redmadrobot\/blog\/461085\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/7h\/x5\/uo\/7hx5uoccyynedwfsrjlwxylmkuq.png\" alt=\"\u0418\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0434\u043b\u044f \u0441\u0442\u0430\u0442\u044c\u0438\" title=\"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u044f\u0437\u044b\u043a\u0430 \u0432 Android-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438\"><\/p>\n<p>  <\/p>\n<p>\u0415\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u044f\u0437\u044b\u043a\u0430 \u0432 Single-Activity \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438. \u0421\u0442\u0435\u043a \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435 \u043d\u0435 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043c, \u0433\u0434\u0435 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u043b \u044f\u0437\u044b\u043a. \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u044d\u043a\u0440\u0430\u043d\u044b, \u043e\u043d\u0438 \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u043c\u0438. \u0410 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0447\u0438\u0441\u0435\u043b, \u0434\u0435\u043d\u0435\u0436\u043d\u044b\u0445 \u0441\u0443\u043c\u043c \u0438 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0443\u0434\u0438\u0432\u0438\u0442\u044c \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u043e\u0432.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-292685","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/292685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=292685"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/292685\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=292685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=292685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=292685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}