StackOverflow Questions for Tag: android-ondestroy

ruNury
ruNury

Reputation: 173

How to perform critical operation on App termination (iOS: WillTerminate, Android:OnDestroy)

Score: 0

Views: 93

Answers: 0

Read More
Settasit7
Settasit7

Reputation: 65

How to kill previous service before start new service in Java?

Score: -1

Views: 167

Answers: 1

Read More
Matteo Pagliarello
Matteo Pagliarello

Reputation: 191

[Android]Error:"Can not perform this action after onSaveInstanceState" without using it

Score: 2

Views: 310

Answers: 1

Read More
Alyoshak
Alyoshak

Reputation: 2746

Why is (and how to fix) my Android application triggering an onCreate (ON_CREATE) when removed from memory?

Score: 0

Views: 365

Answers: 2

Read More
MeNoVa
MeNoVa

Reputation: 99

I call an API in the onDestroy() fragment method, but when I close the app it does not call

Score: 0

Views: 897

Answers: 1

Read More
yosef vaksin
yosef vaksin

Reputation: 1

how do I save score in onDestroy() android studio?

Score: 0

Views: 72

Answers: 0

Read More
Michael Zur
Michael Zur

Reputation: 1155

How to update status in remote database if the activity's onDestroy() method is not called?

Score: 0

Views: 76

Answers: 1

Read More
peter Estifanos
peter Estifanos

Reputation: 151

What is wrong with onDestroyView() method?

Score: -1

Views: 485

Answers: 2

Read More
Delark
Delark

Reputation: 1323

Fragment leaking in ViewPager2 with FragmentStateAdapter on onDestroyView()

Score: 2

Views: 1210

Answers: 1

Read More
Sourav Kannantha B
Sourav Kannantha B

Reputation: 3299

How to detect when application is closed by a user in android?

Score: 0

Views: 4370

Answers: 2

Read More
LCZ
LCZ

Reputation: 729

onCreate and onDestroy called after navigating away fragment

Score: 1

Views: 668

Answers: 1

Read More
Ziad Halabi
Ziad Halabi

Reputation: 866

Widget not working after Force quit App

Score: 2

Views: 462

Answers: 0

Read More
Prashant Dange
Prashant Dange

Reputation: 81

Previous activity get destroyed on view-pager page change

Score: 0

Views: 287

Answers: 2

Read More
starwarrior8809
starwarrior8809

Reputation: 381

Can Android kill the activity without killing the entire process while the app is in the background?

Score: 6

Views: 3831

Answers: 3

Read More
Arun123
Arun123

Reputation: 118

How to completely destroy an activity from code?

Score: 0

Views: 135

Answers: 1

Read More
monok
monok

Reputation: 585

onDestroy() not called

Score: 0

Views: 42

Answers: 0

Read More
user1041858
user1041858

Reputation: 957

Remove notification when service destroyed by android OS

Score: 10

Views: 6582

Answers: 5

Read More
Harsh Patel
Harsh Patel

Reputation: 667

I cannot stop Location service from my fragment. How can stop it?

Score: -2

Views: 848

Answers: 3

Read More
Michael
Michael

Reputation: 439

On read shared preferences , only one object received

Score: 0

Views: 49

Answers: 2

Read More
Jordan Bagwell
Jordan Bagwell

Reputation: 13

How to send result Intent using onPause (back button)

Score: 1

Views: 170

Answers: 1

Read More
PreviousPage 1Next