Skip to main content
3 votes
0 answers
99 views

To implement Predictive Back feature in an app, that uses Fragments and Navigation Component, there are 2 options: Option A: Use Transition API. Just set animator animations directly into nav_graph ...
coroutinary's user avatar
0 votes
0 answers
65 views

I want to minimize an activity instead of finishing it. I also want to keep the predictive back animation. Minimizing used to be easy enough with overriding onBackPressed, however with the predictive ...
squirrel's user avatar
  • 5,558
0 votes
1 answer
266 views

I'm using Compose Destinations for navigation between composable screens. Is it possible to enable predictive back gesture animations between screens using Compose Destinations?
Raheem's user avatar
  • 673
0 votes
1 answer
139 views

I'm currently trying to implement predictive back in my app and I ran into a bug. This appears to be an Android 14 or Samsung OS bug. The conditions of the bug appears to be: predictive back is ...
idunnololz's user avatar
  • 8,463
1 vote
0 answers
303 views

I am in the middle of adding full support for predictive back to my app however I encountered a weird bug while doing so. In one area of my app I have a Fragment FragA that shows a DialogFragment ...
idunnololz's user avatar
  • 8,463
1 vote
0 answers
254 views

This is the simplified version of my implementation of predictive back animation using jetpack navigation lib. MainActivity: class MainActivity : AppCompatActivity() { private lateinit var ...
ltp's user avatar
  • 603
3 votes
1 answer
363 views

I'm trying to implement the predictive back gesture in an app based over fragments and navigation component. While it works out of the box for bottom sheets and activities, it doesn't work with ...
m.i.n.a.r.'s user avatar
  • 1,188
1 vote
2 answers
921 views

I am implementing predictive back in my android app and am facing a problem. In the left screenshot below, the redder color is my android:windowBackground and I am in the process of doing a predictive ...
SweSnow's user avatar
  • 17.4k
1 vote
1 answer
2k views

Sometimes during back transition using back gesture on Android 14 with predictive back enabled, my app is crashing with the following crash log: ActivityTaskManager system_server ...
Pavlo28's user avatar
  • 1,616
2 votes
2 answers
1k views

According to the docs, we simply should update 'androidx.activity:activity' version in the build.gradle and add android:enableOnBackInvokedCallback="true" to the Manifest to make predictive ...
Pavlo28's user avatar
  • 1,616
1 vote
2 answers
1k views

In my Xamarin Forms Android application I'm trying to disable this Predictive back gesture while we swipe left or right from edge of the screen, the app will go back or forward and it messes with the ...
Vignesh Kandassamy's user avatar