1 year ago

#375519

test-img

PhongBM

Android - Activity recreate after open Camera App on Xiaomi

I'm facing a problem is my Activity has been recreated after open Camera app.

This is my flow:

  • Using the app
  • Press Home button to put app into background
  • Open Camera app default in device
  • Re-open my app -> My Activity has been recreated and lost all data (issue)

How to prevent re-creating Activity or resolve this issue?

Thanks in advance.

android

android-activity

android-camera

0 Answers

Your Answer

Accepted video resources