Skip to main content

Questions tagged [back-stack]

"Back stack" is a stack in which activities within an Android task are arranged. Android task is a collection of activities that users interact with when performing a certain job. Through this process activities are placed on the stack, in the order in which each activity is opened. Activities can be accessed later in reverse order by pressing the "back" button.

back-stack
0 votes
0 answers
21 views

Android pending intent not doing anything

tl;dr: I want to keep the back stack to be able to navigate back, but when I don't use the flags that clear the back stack, opening a notification that has a pending intent does nothing except opening ...
Hillcow's user avatar
  • 929
0 votes
0 answers
37 views

How do I synchronize between Jetpack Compose navigation backstack and the selected state of the icon of Navigation bar

First, the code: data class Destination ( val title: String, val icon: ImageVector, val route: String ) @Composable fun ExperimentWithBackButtonPress( modifier: Modifier = Modifier, ) ...
TheSelfTaughtNoob's user avatar
0 votes
0 answers
11 views

How to clean the memory back stack in profile on android app

i have create an android application that works good but have only one problem, the stack (i think is backstack) memory continue to increase every time i open and close an activity ( normal or tabbed ...
Meloni Augusto's user avatar
0 votes
0 answers
14 views

How avoid the backstack entries in dialog fragment

am using the viewpager in order show the frgment with dynamic data , whenn the particular time opem the dialog the exiting support fragment manger back stack entry cleared and created the new back ...
IYANAR D's user avatar
2 votes
0 answers
543 views

Compose Navigation destination animation transitions by conditional

For certain destination screens, I would like a certain transition animations to happen only when navigating to or from certain other destinations. For example, when navigating to and from Category ...
galaxigirl's user avatar
  • 2,510
0 votes
1 answer
210 views

Android Jetpack Compose Nested Navigation Backstack Behaviour

So in my compose app, I have set up a number of screens with one nested navigation as below: composable( route = RackInspectionScreen.RackInspectionObservationsRecommendationsScreen.route ...
Scamparelli's user avatar
4 votes
0 answers
439 views

Opening custom chrome tab destroys the caller Activity in Android version prior to 12

I am using Android custom tabs for Authentication of my app. The custom tab is launched from the CustomTabLoginActivity. Once the user completes the sign up/login, the webpage gives a redirection with ...
Gopikrishnan S's user avatar
0 votes
2 answers
369 views

In Android, what's the difference between "backstack" and "task"?

I can't understand why there are two terms. It seems redundant that a all of the activities exist in a task, and all activities exist in a backstack, and the task "uses" the backstack to ...
arhythmicode's user avatar
0 votes
0 answers
71 views

How to direct user back to the app screen from webView by using onBackPressed (Kotlin)?

I've used this but this is not what I want. Since I have only one privacy policy webpage to show there is no use of canGoBack() and it closes the app on back press. I want to just close the webView. ...
Vivek Jaiswal's user avatar
0 votes
1 answer
222 views

Android multi activity/multi fragment app, how to allow back button to pop backstack and not quit activity?

I am currently migrating a fairly complex app from overide on back pressed -> onBackPressedDispatcher. However our previous code overode back press behaviour at the activity level, and i would like ...
Joshua Goodman's user avatar
0 votes
1 answer
335 views

Will Pop Scope is not working on video player screen in flutter

I applied will pop scope on that screen it didn't work me its YouTube video player screen. I define all the routes in main.dart is that problem will pop scope is not working Let me know where I am ...
mussadiq jamil's user avatar
0 votes
1 answer
408 views

is this possible to enable/disable backstack of particular item in bottom navigation view?

here is my bottom navigation controller setup fun setUpBottomNavigation(){ nav_host_fragment=supportFragmentManager.findFragmentById(R.id.frag_container) as NavHostFragment ...
Akash's user avatar
  • 1
0 votes
1 answer
1k views

How can I control navigation and backStack from main activity

I have two activities A and B and Three fragments C,D and E. I used intent to move from activity A to B and didn't finish activity A as I want to get back to it later. Activity B contains a custom ...
Abdul Kareem's user avatar
0 votes
1 answer
106 views

Navigation Controller: how to insert a fragment in the back stack

I'm programming deep link behavior where a particular link navigates the user to a video. In the normal flow, the user navigates to this video through a course details fragment containing a list of ...
Regress.arg's user avatar
3 votes
0 answers
196 views

Android deep link nested activity back stack not working

I have a deep link into activity A in my app. From activity A, user can go to activity B. When user presses back button in activity B, I expect them to land back in activity A, the start of the deep ...
Mishk's user avatar
  • 41

15 30 50 per page
1
2 3 4 5
44