All Projects → KunMinX → Smooth-Navigation

KunMinX / Smooth-Navigation

Licence: other
提供流畅的 Jetpack Navigation 转场体验。并解决 GitHub 上 Navigation Add Hide 修改版普遍存在的致命缺陷。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Smooth-Navigation

Jetpack Mvvm Best Practice
是 难得一见 的 Jetpack MVVM 最佳实践!在 以简驭繁 的代码中,对 视图控制器 乃至 标准化开发模式 形成正确、深入的理解!
Stars: ✭ 6,950 (+3306.86%)
Mutual labels:  navigation, jetpack
helloworld
Boilerplate code for basic architecture of an android application following MVVM pattern using hilt, RxJava2.
Stars: ✭ 26 (-87.25%)
Mutual labels:  navigation-architecture-component, navigation-component
Fragnav
An Android library for managing multiple stacks of fragments
Stars: ✭ 1,379 (+575.98%)
Mutual labels:  navigation, fragment
DeezerClone
This Application using Dagger Hilt, Coroutines, Flow, Jetpack (Room, ViewModel, LiveData),Navigation based on MVVM architecture.
Stars: ✭ 81 (-60.29%)
Mutual labels:  navigation, jetpack
navigation-component
Android navigation component examples
Stars: ✭ 22 (-89.22%)
Mutual labels:  jetpack, navigation-component
Medusa
Android fragment stack controller
Stars: ✭ 395 (+93.63%)
Mutual labels:  navigation, fragment
Navigator
Android Multi-module navigator, trying to find a way to navigate into a modularized android project
Stars: ✭ 131 (-35.78%)
Mutual labels:  navigation, fragment
Flowr
FlowR is a wrapper class around the Fragment Manager.
Stars: ✭ 123 (-39.71%)
Mutual labels:  navigation, fragment
Rick-and-Morty
The Rick And Morty - MVVM with a clean architecture approach using some of the best practices in Android Development.
Stars: ✭ 45 (-77.94%)
Mutual labels:  jetpack, navigation-component
Simple-Notes-Kotlin-App
✍️ Simple Note Making App use mvvm architecture , dagger , coroutines and navigation component. Features includes 🗒️ create , edit and ❌ delete notes
Stars: ✭ 40 (-80.39%)
Mutual labels:  jetpack, navigation-component
MockAppMVVM
A sample app structure using the MVVM architecture using Retrofit, Dagger2, LiveData, RxJava, ViewModel and Room.
Stars: ✭ 14 (-93.14%)
Mutual labels:  navigation, jetpack
NavigationComponentPlayground
Sample app leveraging Android Navigation Component
Stars: ✭ 60 (-70.59%)
Mutual labels:  navigation-architecture-component, navigation-component
store-apps-mvvm
Implementation component of Android Jetpack with clean architecture
Stars: ✭ 32 (-84.31%)
Mutual labels:  jetpack, navigation-architecture-component
Androidnavigation
A library managing navigation, nested Fragment, StatusBar, Toolbar for Android
Stars: ✭ 636 (+211.76%)
Mutual labels:  navigation, fragment
android-pokemon-compose
A simple app demonstrates using Jetpack compose with other Jetpack libraries.
Stars: ✭ 56 (-72.55%)
Mutual labels:  jetpack, navigation-component
ChatApp
Chat app based on Firebase tools.
Stars: ✭ 88 (-56.86%)
Mutual labels:  navigation, jetpack
sailer
Sailer is an Android Sample That shows the use of Coordinator pattern for navigation through Multi Module, Dagger, Navigation Component and much more.
Stars: ✭ 35 (-82.84%)
Mutual labels:  navigation, navigation-component
JsonPlaceholderApp
This was originally a code challenge for a company, but now is an example of MVI on Android.
Stars: ✭ 26 (-87.25%)
Mutual labels:  jetpack
mvvm develop
mvvm+jetpack快速开发框架,包括一些常用工具封账
Stars: ✭ 23 (-88.73%)
Mutual labels:  jetpack
MVVMJetpack
JectpackDemo
Stars: ✭ 37 (-81.86%)
Mutual labels:  navigation

Smooth-Navigation

中文说明

提供安全可靠的 Navigation 操作,解决 GitHub 上开源的 "Navigation Add Hide 修改版" 普遍存在的 "popUpToInclusive 导致 Fragment 不符预期地加载" 等问题。

使用方式: 在 gradle 中添加 com.kunminx.arch:smooth-navigation 依赖,并将原有的 androidx.navigation:navigation-fragment 或修改版依赖 移除(否则在编译过程中会遭到原有依赖的覆盖)。

Maven 依赖

  • 以下 implementation 的命名,我们已从 archi 改为 arch,请注意修改,
  • 鉴于 Jcenter 的关闭,我们已将仓库迁移至 Maven Central,请自行在根目录 build.gradle 添加 mavenCentral()
implementation 'com.kunminx.arch:smooth-navigation:4.0.0-beta1'

如果使用 kotlin 拓展,那么在上述的基础上,添加如下依赖即可:

implementation('androidx.navigation:navigation-fragment-ktx:2.3.2') {
    exclude group: 'androidx.navigation', module: "navigation-fragment"
}

English Guide

Provides 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.

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).

Maven dependency

  • The following implementation is renamed. We have changed from archi to arch, so you should pay attention to the modification,
  • 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.
implementation 'com.kunminx.arch:smooth-navigation:4.0.0-beta1'

If you use kotlin extension, then on the basis of the above, add the following dependencies:

implementation('androidx.navigation:navigation-fragment-ktx:2.3.2') {
    exclude group: 'androidx.navigation', module: "navigation-fragment"
}

Thanks

感谢 @孙致远、@别睡太晚、@雅俗共赏 等小伙伴对 popUpToInclusive 以及嵌套 child 等场景下容错问题的反馈和测试 Demo 的提供。

感谢小伙伴 @ hele-jeremy 对 launchSingleTop 场景下容错问题的反馈和优化代码的提供。

License

Copyright 2019-present KunMinX

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].