I have very strange situation. Having one app, I decided to create another one from the code of first one. I copied .xml files, copied .java files so that everythin
The best way to handle onNewIntent with singleTop is simply this:
onNewIntent
singleTop
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); setIntent(intent); }
Then do all of your logic on getIntent inside onResume.
getIntent
onResume