Comments (5)
fragment设定app:launchSingleTop="true"时,会出现一闪而过的问题,请问下有啥优化方案么
fragment版本1.3.2
from smooth-navigation.
你想转场不闪的话,可以降到1.2.5
from smooth-navigation.
你想转场不闪的话,可以降到1.2.5
我是在当前项目测试的,fragment版本是1.2.5的,还是会一闪而过
from smooth-navigation.
你想转场不闪的话,可以降到1.2.5
我是在当前项目测试的,fragment版本是1.2.5的,还是会一闪而过
<action
android:id="@+id/action_to_detailFragment_launchSingTop"
app:destination="@id/detailFragment"
app:enterAnim="@anim/h_fragment_enter"
app:exitAnim="@anim/h_fragment_exit"
app:launchSingleTop="true"
app:popEnterAnim="@anim/h_fragment_pop_enter"
app:popExitAnim="@anim/h_fragment_pop_exit" />
在当前DetailFragment继续执行这个action进行跳转的
from smooth-navigation.
那你可以到 google issue 中提个 issue,看看 Jetpack 组的人是怎么看待此事的,
https://issuetracker.google.com/issues
from smooth-navigation.
Related Issues (19)
- 你好, 请问 『 GitHub 上开源的 "Navigation Add Hide 修改版" 』具体是指哪个repo HOT 3
- launchSingleTop属性跳转页面问题 HOT 3
- Duplicate class androidx.navigation.fragment.DialogFragmentNavigator found in modules HOT 1
- 连续快速点击item跳转闪退 HOT 1
- 清空back stack后跳转 HOT 6
- 代码设置NavGraph,二级页面返回后白屏 HOT 1
- Navigation 2.4+ Kotlin 重写版本 HOT 1
- demo点击右下角的设置,页面跳转的时候左上角能看到前一个页面的内容,一闪而过。 HOT 1
- navigation args跨模块传参数的坑能解决吗? HOT 1
- navArgs()方法不能用 HOT 2
- DiffUtilCallbacks的方法能写成静态方法吗 HOT 1
- launchSingleTop模式跳转页面时,若启动页面时附带了新的arguments,如何处理arguments变更逻辑? HOT 5
- action跳转,双击崩溃 HOT 1
- 生命周期问题 HOT 1
- 结合BottomNavigationView使用有异常 HOT 2
- 页面跳转之后的生命周期问题 HOT 2
- 【 提问须知 】 HOT 1
- java.lang.IllegalArgumentException: Navigation action HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smooth-navigation.