{"id":310362,"date":"2020-09-23T09:00:36","date_gmt":"2020-09-23T09:00:36","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=310362"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=310362","title":{"rendered":"Navigation Component-\u0434\u0437\u044e\u0446\u0443, vol. 3 \u2014 Corner-\u043a\u0435\u0439\u0441\u044b"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/hh\/blog\/520198\/\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ro\/lz\/fn\/rolzfnnhwm5k4mj4n7782mwglcq.jpeg\"><\/p>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0442\u0440\u0438\u043b\u043e\u0433\u0438\u0438 \u043f\u0440\u043e Navigation Component \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043a\u0430\u043a \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e \u0432 \u043c\u043d\u043e\u0433\u043e\u043c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445, \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0441\u044f \u0441 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430\u043c\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0435\u0439\u0441\u044b \u0441\u043e \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u043c\u0438 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0438 \u0434\u0438\u0430\u043b\u043e\u0433\u0430\u043c\u0438. <\/p>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u0442\u0440\u0435\u0442\u044c\u044f \u0438 \u0437\u0430\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0432 \u0446\u0438\u043a\u043b\u0435 \u043f\u0440\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043a\u0435\u0439\u0441\u044b \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0441 Navigation Component-\u043e\u043c. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 <a href=\"https:\/\/habr.com\/ru\/company\/hh\/blog\/518332\/\">\u043f\u0435\u0440\u0432\u043e\u0439<\/a> \u0438 <a href=\"https:\/\/habr.com\/ru\/company\/hh\/blog\/519162\/\">\u0432\u0442\u043e\u0440\u043e\u0439<\/a> \u0447\u0430\u0441\u0442\u044f\u043c\u0438<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h2 id=\"navigaciya-v-mnogomodulnyh-prilozheniyah\">\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u0432 \u043c\u043d\u043e\u0433\u043e\u043c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445<\/h2>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0432\u044b \u0443\u0436\u0435 \u0440\u0430\u0437\u0431\u0438\u043b\u0438 \u0435\u0433\u043e \u043d\u0430 \u043c\u043e\u0434\u0443\u043b\u0438. \u041d\u0435\u0432\u0430\u0436\u043d\u043e, \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e. \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c, \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0434\u043b\u044f \u043b\u043e\u0433\u0438\u043a\u0438 \u0438 UI, \u0430 \u043c\u043e\u0436\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0432\u0441\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0444\u0438\u0447\u0438 (\u043e\u0442 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 API \u0434\u043e \u043b\u043e\u0433\u0438\u043a\u0438 presentation-\u0441\u043b\u043e\u044f) \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u043e\u0434\u0443\u043b\u0435. \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u2013 \u0443 \u0432\u0430\u0441 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043a\u0435\u0439\u0441\u044b, \u043a\u043e\u0433\u0434\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438. <\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0413\u0434\u0435 \u043d\u0430 \u0441\u0445\u0435\u043c\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a\u0435\u0439\u0441\u044b \u0441 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0435\u0439?<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/mq\/pt\/he\/mqpthebpvlhixr41emakec-qzms.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u041d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u043c\u044b \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0434\u0432\u0430 \u043c\u043e\u0434\u0443\u043b\u044f: \u043c\u043e\u0434\u0443\u043b\u044c <code>:vacancy<\/code> \u0441 \u043e\u0434\u043d\u0438\u043c \u044d\u043a\u0440\u0430\u043d\u043e\u043c \u0438 \u043c\u043e\u0434\u0443\u043b\u044c <code>:company<\/code> \u0441 \u0434\u0432\u0443\u043c\u044f \u044d\u043a\u0440\u0430\u043d\u0430\u043c\u0438 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e flow. \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u043c\u043e\u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u044f <code>:vacancy<\/code> \u0432 \u043c\u043e\u0434\u0443\u043b\u044c <code>:company<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c. <\/p>\n<p>  <\/p>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0440\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u0438\u0445 \u043e\u0434\u0438\u043d \u0437\u0430 \u0434\u0440\u0443\u0433\u0438\u043c.<\/p>\n<p>  <\/p>\n<h3 id=\"app-modul--interfeysy\">App-\u043c\u043e\u0434\u0443\u043b\u044c + \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b<\/h3>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/Android-Academy-Global\/AAGlobal-NavigationComponentPlayground\/commit\/1fcecd07993e2aa9b207eafd485a788e790463df\">\u041f\u0435\u0440\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431<\/a> \u2013 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0430\u0448 application-\u043c\u043e\u0434\u0443\u043b\u044c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0432\u0441\u0435\u0433\u043e \u0433\u0440\u0430\u0444\u0430 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0432 feature-\u043c\u043e\u0434\u0443\u043b\u044f\u0445 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u0434\u043b\u044f \u0440\u043e\u0443\u0442\u0438\u043d\u0433\u0430. <\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u044d\u0442\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ec\/tq\/g2\/ectqg2xvvhw6twpg5lr7fj7lzx4.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439: \u0435\u0441\u0442\u044c app-\u043c\u043e\u0434\u0443\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u043d\u0430\u0435\u0442 \u043e\u0431\u043e \u0432\u0441\u0435\u0445 feature-\u043c\u043e\u0434\u0443\u043b\u044f\u0445, \u0435\u0441\u0442\u044c feature-\u043c\u043e\u0434\u0443\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0437\u043d\u0430\u044e\u0442 \u0434\u0440\u0443\u0433 \u043e \u0434\u0440\u0443\u0433\u0435. \u0412 \u044d\u0442\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435 \u0432\u0430\u0448\u0438 feature-\u043c\u043e\u0434\u0443\u043b\u0438 \u043f\u0440\u0435\u0431\u044b\u0432\u0430\u044e\u0442 \u0432 \u0441\u0432\u044f\u0449\u0435\u043d\u043d\u043e\u043c \u043d\u0435\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u043e Navigation Component, \u0438 \u0434\u043b\u044f \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0432\u0438\u0434\u0430:<\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">\/\/ ::vacancy module interface VacancyRouterSource {      fun openNextVacancy(vacancyId: String)      \/\/ For navigation to another module     fun openCompanyFlow()  }<\/code><\/pre>\n<p>  <\/p>\n<p>\u0410 \u0432\u0430\u0448 app-\u043c\u043e\u0434\u0443\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d \u0437\u043d\u0430\u0435\u0442 \u043e\u0431\u043e \u0432\u0441\u0435\u0445 action-\u0430\u0445 \u0438 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438:<\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">fun initVacancyDI(navController: NavController) {   VacancyDI.vacancyRouterSource = object : VacancyRouterSource {       override fun openNextVacancy(vacancyId: String) {           navController.navigate(               VacancyFragmentDirections                 .actionVacancyFragmentToVacancyFragment(vacancyId = vacancyId)           )       }        override fun openCompanyFlow() {           initCompanyDI(navController)           navController.navigate(R.id.action__VacancyFragment__to__CompanyFlow)       }   } }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043b\u044e\u0441 \u044d\u0442\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u2013 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041e\u0434\u043d\u0430\u043a\u043e \u0432 \u043c\u0438\u043d\u0443\u0441\u0430\u0445 \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0435:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0432 \u0432\u0438\u0434\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439, \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 DI \u0434\u043b\u044f \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0430 \u044d\u0442\u0438\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0432 \u0432\u0430\u0448\u0438 feature-\u043c\u043e\u0434\u0443\u043b\u0438;<\/li>\n<li>\u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>Safe Args<\/code> \u043f\u043b\u0430\u0433\u0438\u043d, \u0434\u0435\u043b\u0435\u0433\u0430\u0442 <code>navArgs<\/code>, \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 <code>Directions<\/code>, \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u0438\u0448\u043a\u0438 Navigation Component-\u0430 \u0432 feature-\u043c\u043e\u0434\u0443\u043b\u044f\u0445, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044d\u0442\u0438 \u043c\u043e\u0434\u0443\u043b\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u044e\u0442 \u043f\u0440\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0421\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439, \u0432 \u043e\u0431\u0449\u0435\u043c, \u0441\u043f\u043e\u0441\u043e\u0431.<\/p>\n<p>  <\/p>\n<h3 id=\"grafy-navigacii-v-feature-modulyah--diplinki\">\u0413\u0440\u0430\u0444\u044b \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0432 feature-\u043c\u043e\u0434\u0443\u043b\u044f\u0445 + \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0438<\/h3>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/Android-Academy-Global\/AAGlobal-NavigationComponentPlayground\/commit\/1bcbb70585e4d165a73b8496e362d0b482968808\">\u0412\u0442\u043e\u0440\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431<\/a> \u2013 \u0432\u044b\u043d\u0435\u0441\u0442\u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0433\u0440\u0430\u0444\u044b \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0432 feature-\u043c\u043e\u0434\u0443\u043b\u0438 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043f\u043e \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430\u043c (\u043e\u043d\u0430 \u0436\u0435 \u2013 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u043f\u043e URI, \u043a\u043e\u0442\u043e\u0440\u0443\u044e <a href=\"https:\/\/developer.android.com\/jetpack\/androidx\/releases\/navigation#version_210_3\">\u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0432 Navigation Component 2.1<\/a>).<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u044d\u0442\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ef\/i9\/hp\/efi9hpnfeo7hxqn6djjrzob-pno.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0440\u043e\u0432\u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u0436\u0435, \u043a\u0430\u043a \u0438 \u0432 \u043f\u0435\u0440\u0432\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435: \u0435\u0441\u0442\u044c app-\u043c\u043e\u0434\u0443\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0432\u0441\u0435\u0445 feature-\u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u0438 \u0435\u0441\u0442\u044c feature-\u043c\u043e\u0434\u0443\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0440\u0443\u0433 \u043e \u0434\u0440\u0443\u0433\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u044e\u0442.<\/p>\n<p>  <\/p>\n<p>\u041d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u0430\u0448 app-\u043c\u043e\u0434\u0443\u043b\u044c \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0433\u0440\u0430\u0444 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0433\u043e \u0447\u0430\u0441\u0442\u044c. \u0410 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u0443\u0441\u043e\u0447\u043a\u0438 \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e feature-\u043c\u043e\u0434\u0443\u043b\u0438.<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;navigation xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;     android:id=&quot;@+id\/company_flow__nav_graph&quot;     app:startDestination=&quot;@id\/CompanyFragment&quot;&gt;     &lt;fragment         android:id=&quot;@+id\/CompanyFragment&quot;         android:name=&quot;company.CompanyFragment&quot;&gt;          &lt;deepLink app:uri=&quot;companyflow:\/\/company&quot; \/&gt;          &lt;!-- Or with arguments --&gt;         &lt;argument android:name=&quot;company_id&quot; app:argType=&quot;long&quot; \/&gt;         &lt;deepLink app:uri=&quot;companyflow:\/\/company&quot; \/&gt;          &lt;action             android:id=&quot;@+id\/action__CompanyFragment__to__CompanyDetailsFragment&quot;             app:destination=&quot;@id\/CompanyDetailsFragment&quot; \/&gt;     &lt;\/fragment&gt;      &lt;fragment         android:id=&quot;@+id\/CompanyDetailsFragment&quot;         android:name=&quot;company.CompanyDetailsFragment&quot; \/&gt; &lt;\/navigation&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>Feature-\u043c\u043e\u0434\u0443\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0433\u0440\u0430\u0444\u044b \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u0440\u043e\u0443\u0442\u0438\u043d\u0433\u0430 \u043c\u0435\u0436\u0434\u0443 \u044d\u043a\u0440\u0430\u043d\u0430\u043c\u0438, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u043d\u0438 \u0437\u043d\u0430\u044e\u0442. \u0410 \u0435\u0449\u0451 \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0442\u044c \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0438 \u0434\u043b\u044f \u0442\u0435\u0445 \u044d\u043a\u0440\u0430\u043d\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0438\u0437 \u0434\u0440\u0443\u0433\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u044b\u0448\u0435 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0442\u044d\u0433 <code>deepLink<\/code>, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u044d\u043a\u0440\u0430\u043d <code>CompanyFragment<\/code> \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0438\u0437 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0434\u0438\u043f\u043b\u0438\u043d\u043a \u0434\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u044d\u043a\u0440\u0430\u043d\u0430 <code>CompanyFragment<\/code> \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u044f <code>:vacancy<\/code> :<\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">\/\/ ::vacancy module  fragment_vacancy__button__open_company_flow.setOnClickListener {   \/\/ Navigation through deep link   val companyFlowUri = &quot;companyflow:\/\/company&quot;.toUri()   findNavController().navigate(companyFlowUri) }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043b\u044e\u0441 \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438. \u0410 \u043c\u0438\u043d\u0443\u0441 \u2013 \u0447\u0442\u043e \u0432\u044b \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>Safe Args<\/code>, \u0438\u043b\u0438 \u00ab\u0441\u043b\u043e\u0436\u043d\u044b\u0435\u00bb\u200e \u0442\u0438\u043f\u044b \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 (<code>Enum<\/code>, <code>Serializable<\/code>, <code>Parcelable<\/code>) \u043f\u0440\u0438 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043c\u0435\u0436\u0434\u0443 \u0444\u0438\u0447\u0430\u043c\u0438. <\/p>\n<p>  <\/p>\n<p>P.S. \u0415\u0441\u0442\u044c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0430\u0448\u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0432 <code>JSON<\/code> \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 String-\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u0434\u0438\u043f\u043b\u0438\u043d\u043a, \u043d\u043e \u044d\u0442\u043e \u043a\u0430\u043a-\u0442\u043e\u2026 \u0421\u0442\u0440\u0430\u043d\u043d\u043e. <\/p>\n<p>  <\/p>\n<h3 id=\"obschiy-modul-so-vsem-grafom-navigacii\">\u041e\u0431\u0449\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u043e \u0432\u0441\u0435\u043c \u0433\u0440\u0430\u0444\u043e\u043c \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438<\/h3>\n<p>  <\/p>\n<p><a href=\"https:\/\/github.com\/Android-Academy-Global\/AAGlobal-NavigationComponentPlayground\/commit\/4933a9db4f900c972e1ecdf573e3a8a4252eb611\">\u0422\u0440\u0435\u0442\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431<\/a> \u2013 \u0432\u0432\u0435\u0441\u0442\u0438 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0433\u043e \u0433\u0440\u0430\u0444\u0430 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a \u043a\u0430\u0436\u0434\u043e\u043c\u0443 feature-\u043c\u043e\u0434\u0443\u043b\u044e.<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u044d\u0442\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/-z\/7v\/an\/-z7van9jpdlqdgcmnwguvsalkr4.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0423 \u043d\u0430\u0441 \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u0435\u0441\u0442\u044c app-\u043c\u043e\u0434\u0443\u043b\u044c, \u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0435\u0433\u043e \u0437\u0430\u0434\u0430\u0447\u0430 \u2013 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u043a \u0441\u0435\u0431\u0435 \u0432\u0441\u0435 feature-\u043c\u043e\u0434\u0443\u043b\u0438; \u043e\u043d \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u0445\u0440\u0430\u043d\u0438\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0433\u0440\u0430\u0444 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438. \u0412\u0435\u0441\u044c \u0433\u0440\u0430\u0444 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u043e\u0434\u0443\u043b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 \u043e feature-\u043c\u043e\u0434\u0443\u043b\u044f\u0445. \u0417\u0430\u0442\u043e \u043a\u0430\u0436\u0434\u044b\u0439 feature-\u043c\u043e\u0434\u0443\u043b\u044c \u0437\u043d\u0430\u0435\u0442 \u043f\u0440\u043e <code>common navigation<\/code>.<\/p>\n<p>  <\/p>\n<p>\u0412 \u0447\u0451\u043c \u0441\u043e\u043b\u044c? \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e common-\u043c\u043e\u0434\u0443\u043b\u044c \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f\u0445 \u0432\u0430\u0448\u0438\u0445 destination-\u043e\u0432 (\u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u0445, \u0434\u0438\u0430\u043b\u043e\u0433\u0430\u0445, activity), \u043e\u043d \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u043e\u0431\u044a\u044f\u0432\u0438\u0442\u044c \u0433\u0440\u0430\u0444 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0432 XML-\u0444\u0430\u0439\u043b\u0430\u0445! \u0414\u0430, Android Studio \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0441 \u0443\u043c\u0430: \u0432\u0441\u0435 \u0438\u043c\u0435\u043d\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0432 XML-\u0435 \u0433\u043e\u0440\u044f\u0442 \u043a\u0440\u0430\u0441\u043d\u044b\u043c, \u043d\u043e, \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u044d\u0442\u043e, \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e\u0442\u0441\u044f, <code>Safe Args<\/code> \u043f\u043b\u0430\u0433\u0438\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u043d\u0443\u0436\u043d\u043e. \u0418 \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u0430\u0448\u0438 feature-\u043c\u043e\u0434\u0443\u043b\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442 \u043a \u0441\u0435\u0431\u0435 common-\u043c\u043e\u0434\u0443\u043b\u044c, \u043e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043b\u044e\u0431\u044b\u043c\u0438 action-\u0430\u043c\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0433\u0440\u0430\u0444\u0430 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438.<\/p>\n<p>  <\/p>\n<p>\u041f\u043b\u044e\u0441 \u044d\u0442\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u2013 \u043d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u0435\u043c\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 Navigation Component-\u0430 \u0432 \u043b\u044e\u0431\u043e\u043c feature-\u043c\u043e\u0434\u0443\u043b\u0435. \u0418\u0437 \u043c\u0438\u043d\u0443\u0441\u043e\u0432: <\/p>\n<p>  <\/p>\n<ul>\n<li>\u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0441\u044f \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u043c\u043e\u0434\u0443\u043b\u044c \u0432 critical path \u043a\u0430\u0436\u0434\u043e\u0433\u043e feature-\u043c\u043e\u0434\u0443\u043b\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f;<\/li>\n<li>\u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433 \u0438\u043c\u0451\u043d: \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u043c\u0435\u043d\u044f\u0435\u0442\u0435 \u0438\u043c\u044f \u043a\u043b\u0430\u0441\u0441\u0430 \u043a\u0430\u043a\u043e\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c destination-\u0430, \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043d\u0435 \u0437\u0430\u0431\u044b\u0442\u044c, \u0447\u0442\u043e \u043d\u0430\u0434\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432 common-\u043c\u043e\u0434\u0443\u043b\u0435.<\/li>\n<\/ul>\n<p>  <\/p>\n<h3 id=\"vyvody-po-navigacii-v-mnogomodulnyh-prilozheniyah\">\u0412\u044b\u0432\u043e\u0434\u044b \u043f\u043e \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0432 \u043c\u043d\u043e\u0433\u043e\u043c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445<\/h3>\n<p>  <\/p>\n<ul>\n<li>\u0423 \u0432\u0430\u0441 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440 \u0446\u0435\u043b\u044b\u0445 \u0442\u0440\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0435\u0436\u043c\u043e\u0434\u0443\u043b\u044c\u043d\u043e\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438. <\/li>\n<li>\u0412\u044b\u0431\u0438\u0440\u0430\u0439\u0442\u0435 \u0442\u043e\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0430\u043c \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f, \u043f\u043e\u043d\u044f\u0442\u0435\u043d \u0438, \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0430\u043c \u043f\u0440\u043e\u0449\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c. <\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"rabota-s-diplinkami\">\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430\u043c\u0438<\/h2>\n<p>  <\/p>\n<p>\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043a\u0430\u0436\u0434\u043e\u0435 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0443\u043c\u0435\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0438. \u0418 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 Android-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043c\u0435\u0447\u0442\u0430\u043b \u043e \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u044d\u0442\u0438\u043c\u0438 \u00ab\u200e\u0433\u043b\u0443\u0431\u043e\u043a\u0438\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438\u00bb\u200e. \u041e\u043a\u0435\u0439, \u044f \u043c\u0435\u0447\u0442\u0430\u043b. \u0418 \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e Navigation Component \u2013 \u0440\u043e\u0432\u043d\u043e \u0442\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e. <\/p>\n<p>  <\/p>\n<p>\u041f\u043e \u043c\u043e\u0435\u0439 \u0437\u0430\u0434\u0443\u043c\u043a\u0435 \u043a\u0435\u0439\u0441\u044b \u0441 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430\u043c\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u043b\u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043e\u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. <\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0447\u0430\u0441\u0442\u044c?<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/nh\/dc\/s_\/nhdcs_afdgdiu3ee60jvticdvp0.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0423 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u0442\u0440\u0438 \u043a\u0435\u0439\u0441\u0430 \u0441 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u0445\u043e\u0442\u0435\u043b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Navigation Component.<\/p>\n<p>  <\/p>\n<ul>\n<li><strong>\u041e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438<\/strong> \u2013 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u044f \u0445\u043e\u0447\u0443 \u0447\u0435\u0440\u0435\u0437 \u0434\u0438\u043f\u043b\u0438\u043d\u043a \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0432\u0442\u043e\u0440\u0443\u044e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435 \u043f\u043e\u0441\u043b\u0435 Splash-\u044d\u043a\u0440\u0430\u043d\u0430<\/li>\n<\/ul>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p>\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u044f \u0445\u043e\u0447\u0443 \u0447\u0435\u0440\u0435\u0437 \u0434\u0438\u043f\u043b\u0438\u043d\u043a \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0432\u043a\u043b\u0430\u0434\u043a\u0443 Favorites \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435 \u043f\u043e\u0441\u043b\u0435 Splash-\u044d\u043a\u0440\u0430\u043d\u0430:<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sk\/-m\/hj\/sk-mhjbzrhfe_ixgvv3x6tg7eyy.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<ul>\n<li><strong>\u041e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 ViewPager-\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438<\/strong><\/li>\n<\/ul>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p>\u041f\u0443\u0441\u0442\u044c \u044f \u0445\u043e\u0447\u0443 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u0443\u044e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 ViewPager-\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 Responses:<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/my\/dl\/jd\/mydljdq38pv5nhlkf1ajrtu4yh4.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<ul>\n<li><strong>\u041e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u044d\u043a\u0440\u0430\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/strong> \u2013 \u043f\u0443\u0441\u0442\u044c \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f. \u0418 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430 \u044f \u0445\u043e\u0447\u0443 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c Splash-\u044d\u043a\u0440\u0430\u043d, \u0437\u0430\u0442\u0435\u043c \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u043b\u043e\u0443 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438, \u0430 \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0435\u0433\u043e \u043f\u0440\u043e\u0439\u0434\u0451\u0442, \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u043a\u043b\u0430\u0434\u043a\u0443<\/li>\n<\/ul>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p>\u041f\u0443\u0441\u0442\u044c \u0432\u043a\u043b\u0430\u0434\u043a\u0430 Profile \u0442\u0435\u043f\u0435\u0440\u044c \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438. \u0418 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430 \u044f \u0445\u043e\u0447\u0443 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c Splash-\u044d\u043a\u0440\u0430\u043d, \u0437\u0430\u0442\u0435\u043c \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u043b\u043e\u0443 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438, \u0430 \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0435\u0433\u043e \u043f\u0440\u043e\u0439\u0434\u0451\u0442 \u2013 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0432\u043a\u043b\u0430\u0434\u043a\u0443 Profile.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/si\/u7\/ps\/siu7psnkx24je2wguw-j2vza-ii.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0421\u0440\u0430\u0437\u0443 \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f <strong>\u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c<\/strong> \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u044d\u0442\u0438\u0445 \u043a\u0435\u0439\u0441\u043e\u0432. \u0418 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430\u043c\u0438 \u0432 Navigation Component \u0441\u0442\u0430\u043b\u0430 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0441\u0430\u043c\u044b\u043c \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0440\u0430\u0437\u043e\u0447\u0430\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c.<\/p>\n<p>  <\/p>\n<h3 id=\"diplink-dlya-opredelyonnoy-vkladki-nizhney-navigacii\">\u0414\u0438\u043f\u043b\u0438\u043d\u043a \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438<\/h3>\n<p>  <\/p>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0438\u043f\u043b\u0438\u043d\u043a \u0434\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0438, \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0445\u043e\u0442\u044f \u0431\u044b \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0439. \u042f \u0440\u0435\u0448\u0438\u043b, \u0447\u0442\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u0438\u043f\u043b\u0438\u043d\u043a \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 (\u043d\u0435 \u0441\u0430\u043c\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0438, \u0430 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430):<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;navigation xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;     android:id=&quot;@+id\/app_nav_graph&quot;     app:startDestination=&quot;@id\/SplashFragment&quot;&gt;      &lt;fragment         android:id=&quot;@+id\/SplashFragment&quot;         android:name=&quot;ui.splash.SplashFragment&quot; \/&gt;      &lt;fragment         android:id=&quot;@+id\/MainFragment&quot;         android:name=&quot;ui.main.MainFragment&quot;&gt;          &lt;deepLink app:uri=&quot;www.example.com\/main&quot; \/&gt;      &lt;\/fragment&gt;  &lt;\/navigation&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0417\u0430\u0442\u0435\u043c \u044f, \u0441\u043b\u0435\u0434\u0443\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0433\u0440\u0430\u0444 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0441 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u043e\u043c \u0432 Android Manifest:<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;manifest xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;     package=&quot;com.aaglobal.jnc_playground&quot;&gt;      &lt;application android:name=&quot;.App&quot;&gt;         &lt;activity android:name=&quot;.ui.root.RootActivity&quot;&gt;              &lt;nav-graph android:value=&quot;@navigation\/app_nav_graph&quot;\/&gt;              &lt;intent-filter&gt;                 &lt;action android:name=&quot;android.intent.action.MAIN&quot; \/&gt;                 &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; \/&gt;             &lt;\/intent-filter&gt;          &lt;\/activity&gt;     &lt;\/application&gt;  &lt;\/manifest&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0410 \u043f\u043e\u0442\u043e\u043c \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043b\u0438 \u0442\u043e, \u0447\u0442\u043e \u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 adb-\u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">adb shell am start \\   -a android.intent.action.VIEW \\   -d &quot;https:\/\/www.example.com\/main&quot; com.aaglobal.jnc_playground<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418-\u0438-\u0438\u2026 \u043d\u0435\u0442. \u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u0430\u0432\u0435\u043b\u043e\u0441\u044c. \u042f \u043f\u043e\u043b\u0443\u0447\u0438\u043b <a href=\"https:\/\/github.com\/Android-Academy-Global\/AAGlobal-NavigationComponentPlayground\/commit\/a61cf67793052f44d175c6084d04bceaf9d95f70\">\u043a\u0440\u0430\u0448 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/a> \u0441 \u0443\u0436\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u2013 IllegalStateException: FragmentManager is already executing transactions. \u0414\u0435\u0431\u0430\u0433\u0433\u0435\u0440 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u043b \u043d\u0430 \u043a\u043e\u0434, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u0435\u0440\u043d\u0443\u0442\u044c \u044d\u0442\u0443 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 Handler.post:<\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">\/\/ MainFragment.kt \u2014 fragment with BottomNavigationView  override fun onViewCreated(view: View, savedInstanceState: Bundle?) {     super.onViewCreated(view, savedInstanceState)     if (savedInstanceState == null) {         safeSetupBottomNavigationBar()     } }  private fun safeSetupBottomNavigationBar() {     Handler().post {         setupBottomNavigationBar()     } }<\/code><\/pre>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043a\u0440\u0430\u0448, \u043d\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e <a href=\"https:\/\/github.com\/Android-Academy-Global\/AAGlobal-NavigationComponentPlayground\/commit\/e5551159f179608041b2050d1f0c10fcdedf876f\">\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e<\/a>: \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0432 \u0434\u0438\u043f\u043b\u0438\u043d\u043a, \u043c\u044b \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043b\u0438 Splash-\u044d\u043a\u0440\u0430\u043d, \u043e\u043d \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0441\u044f. \u0410 \u044d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043d\u0435 \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u0432\u0435\u0447\u0430\u043b \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043c\u043e\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0443\u0442\u044c \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430 \u0431\u044b\u043b \u0442\u0430\u043a\u0438\u043c: \u043c\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0430\u0441\u044c \u0435\u0433\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f Activity. \u0412 \u0432\u0451\u0440\u0441\u0442\u043a\u0435 \u044d\u0442\u043e\u0439 activity \u043c\u044b \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0433\u0440\u0430\u0444 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438. \u0412 \u044d\u0442\u043e\u043c \u0433\u0440\u0430\u0444\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u043b <code>URI<\/code>, \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 adb-\u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u2013 \u0432\u0443\u0430\u043b\u044f, \u043e\u043d \u0441\u0440\u0430\u0437\u0443 \u0438 \u043e\u0442\u043a\u0440\u044b\u043b\u0441\u044f, \u043f\u0440\u043e\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432 \u0433\u0440\u0430\u0444\u0435 <code>startDestination<\/code>. <\/p>\n<p>  <\/p>\n<p>\u0422\u043e\u0433\u0434\u0430 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0434\u0438\u043f\u043b\u0438\u043d\u043a \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u0433\u0440\u0430\u0444 \u2013 \u0432\u043d\u0443\u0442\u0440\u044c \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438. <\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;navigation xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;     android:id=&quot;@+id\/menu__search&quot;     app:startDestination=&quot;@id\/SearchContainerFragment&quot;&gt;      &lt;fragment         android:id=&quot;@+id\/SearchContainerFragment&quot;         android:name=&quot;tabs.search.SearchContainerFragment&quot;&gt;          &lt;deepLink app:uri=&quot;www.example.com\/main&quot; \/&gt;          &lt;action             android:id=&quot;@+id\/action__SearchContainerFragment__to__CompanyFlow&quot;             app:destination=&quot;@id\/company_flow__nav_graph&quot; \/&gt;         &lt;action             android:id=&quot;@+id\/action__SearchContainerFragment__to__VacancyFragment&quot;             app:destination=&quot;@id\/vacancy_nav_graph&quot; \/&gt;     &lt;\/fragment&gt; &lt;\/navigation&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u042d\u0422\u041e:<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u042d\u0422\u041e<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/8j\/yu\/bw\/8jyubwo1ufhsonyaejigrtmn-xq.gif\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u041d\u0430 \u0433\u0438\u0444\u043a\u0435 \u0432\u0438\u0434\u043d\u043e, \u043a\u0430\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u043e\u0441\u044c, \u0438 \u043c\u044b \u0443\u0432\u0438\u0434\u0435\u043b\u0438 Splash-\u044d\u043a\u0440\u0430\u043d. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043d\u0430 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u0438\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u044d\u043a\u0440\u0430\u043d \u0441 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0435\u0439, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043b\u043e\u0432\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u043e\u0441\u044c \u0437\u0430\u043d\u043e\u0432\u043e! \u041c\u044b \u0441\u043d\u043e\u0432\u0430 \u0443\u0432\u0438\u0434\u0435\u043b\u0438 Splash-\u044d\u043a\u0440\u0430\u043d, \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u0435\u0433\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043d\u0443\u0436\u043d\u0430\u044f \u0432\u043a\u043b\u0430\u0434\u043a\u0430 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438. <\/p>\n<p>  <\/p>\n<p>\u0418 \u0447\u0442\u043e \u0441\u0430\u043c\u043e\u0435 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0435 \u0432\u043e \u0432\u0441\u0435\u0439 \u044d\u0442\u043e\u0439 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u2013 \u044d\u0442\u043e \u043d\u0435 \u0431\u0430\u0433, \u0430 <strong>\u0444\u0438\u0447\u0430<\/strong>.<\/p>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e <a href=\"https:\/\/developer.android.com\/guide\/navigation\/navigation-deep-link#explicit\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u0440\u043e \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430\u043c\u0438<\/a> \u0432 Navigation Component, \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u0443\u0441\u043e\u0447\u0435\u043a:<\/p>\n<p>  <\/p>\n<blockquote><p>When a user opens your app via an explicit deep link, the task back stack is cleared and replaced with the deep link destination.  <\/p><\/blockquote>\n<p>\u0422\u043e \u0435\u0441\u0442\u044c \u043d\u0430\u0448 back stack \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u0447\u0438\u0449\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e\u0431\u044b Navigation Component-\u0443 \u0431\u044b\u043b\u043e \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430\u043c\u0438. \u0413\u043e\u0432\u043e\u0440\u044f\u0442, \u0447\u0442\u043e \u043a\u043e\u0433\u0434\u0430-\u0442\u043e \u0434\u0430\u0432\u043d\u043e, \u0432 \u0431\u0435\u0442\u0430-\u0432\u0435\u0440\u0441\u0438\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u0435\u0435. <\/p>\n<p>  <\/p>\n<p>\u041c\u044b <strong>\u043c\u043e\u0436\u0435\u043c<\/strong> \u044d\u0442\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c. \u041a\u043e\u0440\u0435\u043d\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u2013 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 <code>handleDeepLink<\/code> NavController-\u0430:<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041a\u0443\u0441\u043e\u0447\u0435\u043a handleDeepLink<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"kotlin\">public void handleDeepLink(@Nullable Intent intent) {     \/\/ ...     if ((flags &amp; Intent.FLAG_ACTIVITY_NEW_TASK) != 0) {         \/\/ Start with a cleared task starting at our root when we're on our own task         if (!mBackStack.isEmpty()) {             popBackStackInternal(mGraph.getId(), true);         }         int index = 0;         while (index &lt; deepLink.length) {             int destinationId = deepLink[index++];             NavDestination node = findDestination(destinationId);             if (node == null) {                 final String dest = NavDestination.getDisplayName(mContext, destinationId);                 throw new IllegalStateException(&quot;Deep Linking failed:&quot;                         + &quot; destination &quot; + dest                         + &quot; cannot be found from the current destination &quot;                         + getCurrentDestination());             }             navigate(node, bundle,                     new NavOptions.Builder().setEnterAnim(0).setExitAnim(0).build(), null);         }         return true;     } }<\/code><\/pre>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u044d\u0442\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435, \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u043f\u043e\u0447\u0442\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a \u0441\u0435\u0431\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 Navigation Component;<\/li>\n<li>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 NavController \u0441 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u043b\u043e\u0433\u0438\u043a\u043e\u0439 (\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u0442 NavController-\u0430 \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438) \u2013 \u043d\u0430\u0437\u043e\u0432\u0451\u043c \u0435\u0433\u043e <code>FixedNavController<\/code>;<\/li>\n<li>\u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e NavController-\u0430 \u043d\u0430 FixedNavController. <\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041d\u0435\u0441\u043b\u043e\u0436\u043d\u043e, \u043f\u0440\u0430\u0432\u0434\u0430? \u041d\u043e \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u044d\u0442\u043e \u0443\u0436\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c. \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043d\u0430\u0441 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u0442\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043d\u0430\u0448\u0435\u0433\u043e \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0432\u0435\u0434\u044c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0441\u0432\u043e\u0439 \u0444\u0438\u043a\u0441 \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438. \u041e\u043a\u043e\u043b\u043e \u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434 \u043a\u043e\u043b\u043b\u0435\u0433\u0438 \u0438\u0437 \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 \u043f\u043e\u0445\u043e\u0436\u0435\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439, \u0438 \u0438\u043c \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435. \u0421\u043e\u0447\u0443\u0432\u0441\u0442\u0432\u0443\u044e. <\/p>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0442 \u043d\u0435\u0432\u0435\u0441\u0451\u043b\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u0437\u0430\u043c\u0435\u0442\u0438\u043b \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0431\u0430\u0433, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u0440\u0430\u0448 \u0441 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430\u043c\u0438: \u0441\u043b\u043e\u043c\u0430\u043b\u0430\u0441\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u0438\u0437 auth-\u0444\u043b\u043e\u0443.<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u043e\u043a\u0430\u0436\u0438 \u0433\u0438\u0444\u043a\u0443<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/nc\/xe\/iq\/ncxeiqukrawosbh3reqtlogdp9k.gif\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u041d\u0430 \u0433\u0438\u0444\u043a\u0435 \u0432\u0438\u0434\u043d\u043e, \u043a\u0430\u043a \u043c\u044b \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0443 Profile, \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432\u043e \u0444\u043b\u043e\u0443 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438. \u041f\u043e\u0442\u043e\u043c \u043c\u044b \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 Back \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u0435\u043b\u044b\u0439 \u044d\u043a\u0440\u0430\u043d. \u0415\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u0430\u043a\u0443\u044e-\u043d\u0438\u0431\u0443\u0434\u044c \u0434\u0440\u0443\u0433\u0443\u044e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e, \u0442\u043e \u043c\u044b \u0441\u043d\u043e\u0432\u0430 \u0443\u0432\u0438\u0434\u0438\u043c \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 Profile.<\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u044f \u0443\u0436\u0435 \u0434\u0430\u0436\u0435 \u043d\u0435 \u0441\u0442\u0430\u043b \u0438\u0441\u043a\u0430\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0447\u0435\u0440\u0442\u043e\u0432\u0441\u043a\u0438 \u0443\u0441\u0442\u0430\u043b \u043e\u0442 \u044d\u0442\u0438\u0445 \u0432\u043e\u0439\u043d \u0437\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u043a\u0435\u0439\u0441 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438. \u0415\u0441\u043b\u0438 \u0437\u043d\u0430\u0435\u0442\u0435 \u043a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c, \u043e\u0442\u043f\u0438\u0448\u0438\u0442\u0435\u0441\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.<\/p>\n<p>  <\/p>\n<h3 id=\"diplink-na-ekran-viewpager-a-vnutri-vkladki-nizhney-navigacii\">\u0414\u0438\u043f\u043b\u0438\u043d\u043a \u043d\u0430 \u044d\u043a\u0440\u0430\u043d ViewPager-\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438<\/h3>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 NavController, \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0438, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u0435\u0439\u0441 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e.<\/p>\n<p>  <\/p>\n<p>\u0412 NavController-\u0435 \u0435\u0441\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0443\u043b\u0435\u0432\u0441\u043a\u0438\u0439 \u0444\u043b\u0430\u0436\u043e\u043a \u2013 <code>isDeepLinkHandled<\/code>, \u2013 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043d\u0430\u043c, \u0447\u0442\u043e \u0442\u0435\u043a\u0443\u0449\u0438\u0439 NavController \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0434\u0438\u043f\u043b\u0438\u043d\u043a. \u0412\u044b \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u0438\u043f\u043b\u0438\u043d\u043a, \u0432\u0435\u0434\u0443\u0449\u0438\u0439 \u043d\u0430 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 \u0441\u0435\u0431\u0435 ViewPager, \u0437\u0430\u0442\u0435\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u0434, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u043a\u043b\u0430\u0434\u043a\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">if (findMyNavController().isDeepLinkHandled &amp;&amp; requireActivity().intent.data != null) {     val uriString = requireActivity().intent.data?.toString()     val selectedPosition = when {         uriString == null -&gt; 0         uriString.endsWith(&quot;favorites&quot;) -&gt; 0         uriString.endsWith(&quot;subscribes&quot;) -&gt; 1         else -&gt; 2     }     fragment_favorites_container__view_pager.setCurrentItem(selectedPosition, true) }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u043e, \u043e\u043f\u044f\u0442\u044c \u0436\u0435, \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0432\u044b \u0443\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043a \u0441\u0435\u0431\u0435 \u0432 \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u0441\u0432\u043e\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e NavController-\u0430, \u0432\u0435\u0434\u044c \u0444\u043b\u0430\u0433 <code>isDeepLinkHandled<\/code> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f private-\u043f\u043e\u043b\u0435\u043c. \u041e\u043a, \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0441\u0442\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u0434\u043e \u043d\u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c <code>reflection<\/code>-\u0430, \u043d\u043e \u044d\u0442\u043e \u0443\u0436\u0435 \u0434\u0440\u0443\u0433\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f. <\/p>\n<p>  <\/p>\n<h3 id=\"diplink-na-ekran-trebuyuschiy-avtorizaciyu\">\u0414\u0438\u043f\u043b\u0438\u043d\u043a \u043d\u0430 \u044d\u043a\u0440\u0430\u043d, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0439 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e<\/h3>\n<p>  <\/p>\n<p>Navigation Component \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0438 \u0441 \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438. \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435, Google \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0447\u0435\u0440\u0435\u0437 \u0434\u0438\u043f\u043b\u0438\u043d\u043a \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u044d\u043a\u0440\u0430\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e;<\/li>\n<li>\u043d\u0430 \u044d\u0442\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d \u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u2013 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u043b\u043e\u0443 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u0432\u0435\u0440\u0445 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430;<\/li>\n<li>\u043f\u0440\u043e\u0439\u0442\u0438 auth flow, \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0438\u0437 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0430 \u0438 \u0442.\u0434., \u0438 \u0442.\u043f. <\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u043c\u043e\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 Navigation Component-\u0430 \u044f \u043d\u0435 \u043d\u0430\u0448\u0451\u043b. <\/p>\n<p>  <\/p>\n<h3 id=\"vyvody-po-rabote-s-diplinkami-v-navigation-component\">\u0412\u044b\u0432\u043e\u0434\u044b \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430\u043c\u0438 \u0432 Navigation Component<\/h3>\n<p>  <\/p>\n<ul>\n<li>\u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043d\u0438\u043c\u0438 \u0431\u043e\u043b\u044c\u043d\u043e, \u0435\u0441\u043b\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0438\u043b\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044f.<\/li>\n<li>\u041e\u0431\u044a\u044f\u0432\u043b\u044f\u0442\u044c \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0438 \u0431\u043b\u0438\u0436\u0435 \u043a \u043c\u0435\u0441\u0442\u0443 \u0438\u0445 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u2013 \u043a\u043b\u0430\u0441\u0441\u043d\u0430\u044f \u0438\u0434\u0435\u044f, \u0432 \u0440\u0430\u0437\u044b \u0443\u0434\u043e\u0431\u043d\u0435\u0435 AndroidManifest-\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0441\u0441\u044b\u043b\u043e\u043a.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"bonus-sekciya--keysy-bez-problem\">\u0411\u043e\u043d\u0443\u0441-\u0441\u0435\u043a\u0446\u0438\u044f \u2013 \u043a\u0435\u0439\u0441\u044b \u0411\u0415\u0417 \u043f\u0440\u043e\u0431\u043b\u0435\u043c<\/h2>\n<p>  <\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u0433\u0430\u0442\u0438\u0432 \u043e\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0435\u043a\u0446\u0438\u0438, \u044f \u043f\u043e\u043a\u0430\u0436\u0443 \u043f\u0430\u0440\u0443 \u043a\u0435\u0439\u0441\u043e\u0432, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c. \u0410 \u044f \u0438\u0445 \u0436\u0434\u0430\u043b. \u041d\u043e \u0438\u0445 \u043d\u0435 \u0431\u044b\u043b\u043e.<\/p>\n<p>  <\/p>\n<h3 id=\"navigaciya-s-ekrana-a-v-ekran-a\">\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u0441 \u044d\u043a\u0440\u0430\u043d\u0430 <code>&lt;A&gt;<\/code> \u0432 \u044d\u043a\u0440\u0430\u043d <code>&lt;A&gt;<\/code><\/h3>\n<p>  <\/p>\n<p>\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u044d\u043a\u0440\u0430\u043d \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u044e. <\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0413\u0434\u0435 \u043d\u0430 \u0441\u0445\u0435\u043c\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0442 \u043a\u0435\u0439\u0441?<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/wz\/cg\/go\/wzcggoebkp73tmh9kyyjaupvgrq.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u041f\u043e \u043e\u043f\u044b\u0442\u0443 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u043a\u0435\u0439\u0441\u043e\u0432 \u044f \u043e\u0436\u0438\u0434\u0430\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438 \u0437\u0434\u0435\u0441\u044c, \u043d\u043e \u0432\u0441\u0451 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u2013 \u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e \u0441 \u044d\u043a\u0440\u0430\u043d\u0430 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d:<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;fragment   android:id=&quot;@+id\/VacancyFragment&quot;   android:name=&quot;com.aaglobal.jnc_playground.ui.vacancy.VacancyFragment&quot;   android:label=&quot;Fragment vacancy&quot;   tools:layout=&quot;@layout\/fragment_vacancy&quot;&gt;    &lt;argument       android:name=&quot;vacancyId&quot;       app:argType=&quot;string&quot;       app:nullable=&quot;false&quot; \/&gt;    &lt;action       android:id=&quot;@+id\/action__VacancyFragment__to__VacancyFragment&quot;       app:destination=&quot;@id\/VacancyFragment&quot; \/&gt;  &lt;\/fragment&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418 \u044d\u0442\u043e\u0433\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u2013 \u043d\u043e\u0432\u044b\u0439 \u044d\u043a\u0440\u0430\u043d \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b\u0441\u044f \u043f\u043e\u0432\u0435\u0440\u0445 \u0441\u0442\u0430\u0440\u043e\u0433\u043e, \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 Back \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439. \u0415\u0441\u043b\u0438 \u0431\u044b \u044f \u0437\u0430\u0445\u043e\u0442\u0435\u043b, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u0436\u0434\u044b\u0439 \u043d\u043e\u0432\u044b\u0439 \u044d\u043a\u0440\u0430\u043d \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b\u0441\u044f \u0432\u043c\u0435\u0441\u0442\u043e \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e, \u0431\u044b\u043b\u043e \u0431\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442 <code>popUpTo<\/code> \u043a \u043c\u043e\u0435\u043c\u0443 action-\u0443. <\/p>\n<p>  <\/p>\n<h3 id=\"navigaciya-iz-vstraivaemyh-fragmentov\">\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u0438\u0437 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u043e\u0432<\/h3>\n<p>  <\/p>\n<p>\u0412 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 hh \u0435\u0441\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u043c\u0438 \u0432\u044b\u0434\u0430\u0447\u0430\u043c\u0438. \u0412 \u043d\u0451\u043c \u043c\u044b \u0438\u043d\u043a\u0430\u043f\u0441\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432\u0441\u044e \u043b\u043e\u0433\u0438\u043a\u0443, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u0443\u044e \u0441 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u0441\u043f\u0438\u0441\u043a\u0430 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0432 \u0434\u0440\u0443\u0433\u0438\u0435 \u044d\u043a\u0440\u0430\u043d\u044b. \u041f\u0443\u0441\u0442\u044c \u044f \u0437\u0430\u0434\u0443\u043c\u0430\u043b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u043a\u043b\u0430\u0434\u043e\u043a \u043c\u043e\u0435\u0439 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043f\u0438\u0441\u043a\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u044d\u0442\u043e\u0433\u043e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430 \u0443 \u043c\u0435\u043d\u044f \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b\u0441\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u044d\u043a\u0440\u0430\u043d.<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0413\u0434\u0435 \u043d\u0430 \u0441\u0445\u0435\u043c\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0442 \u043a\u0435\u0439\u0441?<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/yf\/nb\/l8\/yfnbl8k27fzpq7k25w5bxblpjd4.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u042f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0434\u043b\u044f \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0432 \u0432\u0451\u0440\u0441\u0442\u043a\u0443 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u043d\u0438\u0436\u043d\u0435\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438:<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;LinearLayout xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;     android:layout_width=&quot;match_parent&quot;     android:layout_height=&quot;match_parent&quot;     android:orientation=&quot;vertical&quot;&gt;      &lt;TextView         android:id=&quot;@+id\/fragment_favorites_container__text__title&quot;         style=&quot;@style\/LargeTitle&quot;         android:text=&quot;Favorites container&quot; \/&gt;      &lt;androidx.fragment.app.FragmentContainerView         android:id=&quot;@+id\/fragment_favorites_container__container__recommend_vacancies&quot;         android:layout_width=&quot;match_parent&quot;         android:layout_height=&quot;match_parent&quot; \/&gt;  &lt;\/LinearLayout&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0410 \u0437\u0430\u0442\u0435\u043c \u0432 runtime-\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043d\u0443\u0436\u043d\u044b\u0439 \u043c\u043d\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0432 \u044d\u0442\u043e\u0442 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440:<\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">class FavoritesContainerFragment : Fragment(R.layout.fragment_favorites_container) {      override fun onViewCreated(view: View, savedInstanceState: Bundle?) {         super.onViewCreated(view, savedInstanceState)          childFragmentManager.attachFragmentInto(           containerId = R.id.fragment_container_view,           fragment = createVacancyListFragment()         )      } }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041c\u0435\u0442\u043e\u0434 <code>attachFragmentInfo<\/code> \u043d\u0430 <code>childFragmentManager<\/code> \u2013 \u044d\u0442\u043e extension-\u043c\u0435\u0442\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f\u043c\u0438, \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e. <\/p>\n<p>  <\/p>\n<p>\u0410 \u0432\u043e\u0442 \u043a\u0430\u043a \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442:<\/p>\n<p>  <\/p>\n<pre><code class=\"kotlin\">class FavoritesContainerFragment : Fragment(R.layout.fragment_favorites_container) {      \/\/ ...     private fun createVacancyListFragment(): Fragment {         return VacancyListFragment.newInstance(           vacancyType = &quot;favorites_container&quot;,           vacancyListRouterSource = object : VacancyListRouterSource {               override fun navigateToVacancyScreen(item: VacancyItem) {                   findNavController().navigate(                       R.id.action__FavoritesContainerFragment__to__VacancyFragment,                       VacancyFragmentArgs(vacancyId = &quot;${item.name}|${item.id}&quot;).toBundle()                   )               }         }      }  }<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u0441\u044f \u0441\u043e\u043b\u044c \u0432 \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u2013 \u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e \u043d\u0443\u0436\u043d\u044b\u0439 \u043c\u043d\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c \u043d\u0430\u0432\u0438\u0433\u0430\u0442\u043e\u0440\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043f\u0438\u0441\u043a\u0430. <\/p>\n<p>  <\/p>\n<h3 id=\"navigaciya-mezhdu-dialogami\">\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0434\u0438\u0430\u043b\u043e\u0433\u0430\u043c\u0438<\/h3>\n<p>  <\/p>\n<p>\u041f\u0443\u0441\u0442\u044c \u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e BottomSheetDialog-\u043e\u0432, \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u044f \u0445\u043e\u0447\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Navigation Component. <\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0413\u0434\u0435 \u043d\u0430 \u0441\u0445\u0435\u043c\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0442 \u043a\u0435\u0439\u0441?<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/sd\/pp\/7f\/sdpp7faze6irg28r-fasw64kbks.png\"><\/p>\n<\/div><\/div>\n<p>  <\/p>\n<p>\u0413\u043e\u0434 \u043d\u0430\u0437\u0430\u0434 \u0441 \u0442\u0430\u043a\u0438\u043c \u043a\u0435\u0439\u0441\u043e\u043c \u0431\u044b\u043b\u0438 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u043d\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u043d\u0430\u0434\u043e. \u041c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043e\u0431\u044a\u044f\u0432\u0438\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u0442\u043e <code>dialog<\/code> \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 destination-\u0430 \u0432 \u0432\u0430\u0448\u0435\u043c \u0433\u0440\u0430\u0444\u0435 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438, \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c action \u0434\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0434\u0438\u0430\u043b\u043e\u0433\u0430 \u0438\u0437 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0434\u0438\u0430\u043b\u043e\u0433\u0430. <\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;navigation xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;     android:id=&quot;@+id\/menu__favorites&quot;     app:startDestination=&quot;@id\/FavoritesContainerFragment&quot;&gt;    &lt;dialog         android:id=&quot;@+id\/ABottomSheet&quot;         android:name=&quot;ui.dialogs.dialog_a.ABottomSheetDialog&quot;&gt;         &lt;action             android:id=&quot;@+id\/action__ABottomSheet__to__BBottomSheet&quot;             app:destination=&quot;@id\/BBottomSheet&quot;             app:popUpTo=&quot;@id\/ABottomSheet&quot;             app:popUpToInclusive=&quot;true&quot; \/&gt;     &lt;\/dialog&gt;      &lt;dialog         android:id=&quot;@+id\/BBottomSheet&quot;         android:name=&quot;ui.dialogs.dialog_b.BBottomSheetDialog&quot;&gt;         &lt;action             android:id=&quot;@+id\/action__BBottomSheet__to__ABottomSheet&quot;             app:destination=&quot;@id\/ABottomSheet&quot;             app:popUpTo=&quot;@id\/BBottomSheet&quot;             app:popUpToInclusive=&quot;true&quot; \/&gt;     &lt;\/dialog&gt; &lt;\/navigation&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u0438\u0430\u043b\u043e\u0433\u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0438\u0441\u044c \u043a\u0430\u043a \u043d\u0443\u0436\u043d\u043e, \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u043b\u0438\u0441\u044c \u0432\u043e\u0432\u0440\u0435\u043c\u044f, \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435 Back \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b\u0430 \u043a\u0430\u043a \u043e\u0436\u0438\u0434\u0430\u043b\u043e\u0441\u044c.<\/p>\n<p>  <\/p>\n<h3 id=\"vyvody-po-bonus-sekcii\">\u0412\u044b\u0432\u043e\u0434\u044b \u043f\u043e \u0431\u043e\u043d\u0443\u0441-\u0441\u0435\u043a\u0446\u0438\u0438<\/h3>\n<p>  <\/p>\n<p>\u041a\u0435\u0439\u0441\u044b \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u2013 <strong>\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442<\/strong>.<\/p>\n<p>  <\/p>\n<h2 id=\"podvedyom-itogi\">\u041f\u043e\u0434\u0432\u0435\u0434\u0451\u043c \u0438\u0442\u043e\u0433\u0438<\/h2>\n<p>  <\/p>\n<p>\u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u044b \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 Navigation Component. \u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439, \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0434\u043b\u044f \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0435 \u0441\u0430\u043c\u044b\u0445 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u043a\u0435\u0439\u0441\u043e\u0432 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438. \u0421\u0430\u043c \u0444\u0430\u043a\u0442, \u0447\u0442\u043e \u044f \u0443\u0445\u0438\u0442\u0440\u0438\u043b\u0441\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u043f\u0440\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 Navigation Component-\u043e\u043c, \u0447\u0442\u043e-\u0442\u043e \u0434\u0430 \u0433\u043e\u0432\u043e\u0440\u0438\u0442.<\/p>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043d\u0430\u0434\u043e \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0442\u043e, \u043a\u0430\u043a\u0438\u0435 \u043a\u0435\u0439\u0441\u044b \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044c. \u0415\u0441\u043b\u0438 \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u0435\u0442\u0435\u0441\u044c \u043f\u0440\u043e \u043d\u0438\u0436\u043d\u044e\u044e \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e, \u043f\u0440\u043e \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0438 \u2013 \u043f\u043e\u0436\u0430\u043b\u0443\u0439, \u043b\u0443\u0447\u0448\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0451 \u043f\u043e-\u0441\u0442\u0430\u0440\u0438\u043d\u043a\u0435: \u043b\u0438\u0431\u043e \u0440\u0443\u043a\u0430\u043c\u0438, \u043b\u0438\u0431\u043e \u043d\u0430 Cicerone. \u0412 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445, \u0435\u0441\u043b\u0438 \u0432\u0430\u0441 \u043d\u0435 \u043f\u0443\u0433\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0444\u0438\u043a\u0441\u044b, \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f Navigation Component-\u043e\u043c.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 Github-\u0435 \u043b\u0435\u0436\u0438\u0442 <a href=\"https:\/\/github.com\/Android-Academy-Global\/AAGlobal-NavigationComponentPlayground\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  <\/p>\n<h2 id=\"poleznye-ssylki-po-teme\">\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043f\u043e \u0442\u0435\u043c\u0435<\/h2>\n<p>  <\/p>\n<ul>\n<li>\u0413\u043e\u0434\u0438\u0447\u043d\u043e\u0439 \u0434\u0430\u0432\u043d\u043e\u0441\u0442\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/yandex\/blog\/455479\/\">\u0441\u0442\u0430\u0442\u044c\u044f \u043e\u0442 \u043a\u043e\u043b\u043b\u0435\u0433 \u0438\u0437 \u042f\u043d\u0434\u0435\u043a\u0441\u0430<\/a> \u2013 \u043f\u0440\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 Navigation Component; \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0442 \u0442\u043e, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0431\u044b \u0437\u043d\u0430\u043b\u0438, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u044b\u0445\u0432\u0430\u0442\u044f\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u043d\u0435 \u0441\u0442\u0430\u043b\u0438 \u0431\u044b \u043d\u0438\u0447\u0435\u0433\u043e \u0437\u0430\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0442\u044c. <\/li>\n<li>\u0425\u043e\u0440\u043e\u0448\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e <a href=\"https:\/\/proandroiddev.com\/why-i-will-not-use-architecture-navigation-component-97d2ad596b36\">\u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438 Navigation Component<\/a><\/li>\n<li><a href=\"https:\/\/developer.android.com\/guide\/navigation\">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a> \u043f\u043e Navigation Component<\/li>\n<li><a href=\"https:\/\/android-developers.googleblog.com\/2020\/07\/whats-new-in-navigation-2020.html\">\u0427\u0442\u043e \u043d\u043e\u0432\u0435\u043d\u044c\u043a\u043e\u0433\u043e<\/a> \u0432 Navigation Component \u0432 2020 \u0433\u043e\u0434\u0443.<\/li>\n<li><a href=\"https:\/\/issuetracker.google.com\/issues\/80029773\">\u0411\u0430\u0433 \u0441 BottomNavigationView<\/a><\/li>\n<\/ul>\n<\/div>\n<p> \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\/hh\/blog\/520198\/\"> https:\/\/habr.com\/ru\/company\/hh\/blog\/520198\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/hh\/blog\/520198\/\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ro\/lz\/fn\/rolzfnnhwm5k4mj4n7782mwglcq.jpeg\"><\/p>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0442\u0440\u0438\u043b\u043e\u0433\u0438\u0438 \u043f\u0440\u043e Navigation Component \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043a\u0430\u043a \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e \u0432 \u043c\u043d\u043e\u0433\u043e\u043c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445, \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0441\u044f \u0441 \u0434\u0438\u043f\u043b\u0438\u043d\u043a\u0430\u043c\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0435\u0439\u0441\u044b \u0441\u043e \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u043c\u0438 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0438 \u0434\u0438\u0430\u043b\u043e\u0433\u0430\u043c\u0438. <\/p>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u0442\u0440\u0435\u0442\u044c\u044f \u0438 \u0437\u0430\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0432 \u0446\u0438\u043a\u043b\u0435 \u043f\u0440\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043a\u0435\u0439\u0441\u044b \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0441 Navigation Component-\u043e\u043c. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 <a href=\"https:\/\/habr.com\/ru\/company\/hh\/blog\/518332\/\">\u043f\u0435\u0440\u0432\u043e\u0439<\/a> \u0438 <a href=\"https:\/\/habr.com\/ru\/company\/hh\/blog\/519162\/\">\u0432\u0442\u043e\u0440\u043e\u0439<\/a> \u0447\u0430\u0441\u0442\u044f\u043c\u0438<\/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-310362","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/310362","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=310362"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/310362\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=310362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=310362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=310362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}