{"id":17061231,"url":"https://github.com/kunminx/smooth-navigation","last_synced_at":"2025-09-07T17:36:46.086Z","repository":{"id":45660415,"uuid":"280127768","full_name":"KunMinX/Smooth-Navigation","owner":"KunMinX","description":"提供流畅的 Jetpack Navigation 转场体验。并解决 GitHub 上 Navigation Add Hide 修改版普遍存在的缺陷。","archived":false,"fork":false,"pushed_at":"2023-02-10T11:45:23.000Z","size":414,"stargazers_count":251,"open_issues_count":6,"forks_count":25,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-19T18:07:46.913Z","etag":null,"topics":["fragment","fragmentation","jetpack","navigation","navigation-architecture-component","navigation-component"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KunMinX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-07-16T10:44:27.000Z","updated_at":"2025-01-07T05:22:19.000Z","dependencies_parsed_at":"2024-04-09T01:00:47.543Z","dependency_job_id":null,"html_url":"https://github.com/KunMinX/Smooth-Navigation","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/KunMinX/Smooth-Navigation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KunMinX%2FSmooth-Navigation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KunMinX%2FSmooth-Navigation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KunMinX%2FSmooth-Navigation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KunMinX%2FSmooth-Navigation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KunMinX","download_url":"https://codeload.github.com/KunMinX/Smooth-Navigation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KunMinX%2FSmooth-Navigation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274070349,"owners_count":25217310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fragment","fragmentation","jetpack","navigation","navigation-architecture-component","navigation-component"],"created_at":"2024-10-14T10:46:25.814Z","updated_at":"2025-09-07T17:36:45.746Z","avatar_url":"https://github.com/KunMinX.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![](https://images.xiaozhuanlan.com/photo/2022/32e842d53fde8bc9983de0b32293a723.png)\n\n# Smooth-Navigation\n\n## 中文说明\n\n提供安全可靠 Navigation 操作，解决 GitHub 上 \"Navigation Add Hide 修改版\" 普遍存在 \"popUpToInclusive 导致 Fragment 不符预期加载\" 等问题。\n\n**使用方式：** 于 gradle 添加 `com.kunminx.arch:smooth-navigation` 依赖，并将原有 `androidx.navigation:navigation-fragment` 或修改版依赖移除（否则编译过程中会遭原有依赖覆盖）。\n\n## Maven 依赖\n\n- 鉴于 Jcenter 关闭，我们已将仓库迁移至 Maven Central，请自行在根目录 build.gradle 添加 `mavenCentral()`。\n\n```groovy\nimplementation 'com.kunminx.arch:smooth-navigation:4.0.0'\n```\n\n如使用 kotlin 拓展，在上述基础上，添加如下依赖即可：\n\n```groovy\nimplementation('androidx.navigation:navigation-fragment-ktx:2.3.2') {\n    exclude group: 'androidx.navigation', module: \"navigation-fragment\"\n}\n```\n\n## English Guide\n\nProvides safe and reliable Navigation operations, and solves the common problem of \"popUpToInclusive causing Fragment to load unexpectedly\" in the open source \"Navigation Add Hide modified version\" on GitHub.\n\n**How to use:** Add `com.kunminx.arch:smooth-navigation` dependency in gradle, and remove the original `androidx.navigation:navigation-fragment` or modified version dependency (otherwise the original Dependent coverage).\n\n## Maven dependency\n\n- The following implementation is renamed. We have changed from `archi` to `arch`, so you should pay attention to the modification,\n- Due to the closure of JCenter, we have migrated the warehouse to Maven Central, so you can add `mavenCentral()` in the root directory build.gradle.\n\n```groovy\nimplementation 'com.kunminx.arch:smooth-navigation:4.0.0'\n```\n\nIf you use kotlin extension, then on the basis of the above, add the following dependencies:\n\n```groovy\nimplementation('androidx.navigation:navigation-fragment-ktx:2.3.2') {\n    exclude group: 'androidx.navigation', module: \"navigation-fragment\"\n}\n```\n\n## Thanks\n\n感谢 @孙致远、@别睡太晚、@雅俗共赏 等小伙伴对 popUpToInclusive 及嵌套 child 等场景下容错问题反馈和测试 Demo 提供。\n\n感谢小伙伴 @ hele-jeremy 对 launchSingleTop 场景下容错问题反馈和优化代码提供。\n\n## License\n\n```\nCopyright 2019-present KunMinX\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunminx%2Fsmooth-navigation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkunminx%2Fsmooth-navigation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunminx%2Fsmooth-navigation/lists"}