문제 설명
크리에이티브 SDK. MainActivity를 실행한 다음 이미지 편집기를 시작합니다. 그런 다음 홈 키. 그런 다음 앱으로 돌아갑니다. 이미지 편집기 활동이 사라짐 (Creative SDK. MainActivity then launch Image Editor. then home key. then back to app. Image Editor activity disappear)
안드로이드 플랫폼에서 어도비 데모의 크리에이티브 SDK를 사용하고 있습니다.
작업: MainActivity 다음 이미지 편집기를 실행합니다. 그런 다음 홈 키. 그런 다음 앱을 실행합니다. Image Editor 활동이 사라집니다.
Image Editor가 사라지지 않도록 설정하는 방법을 모르겠습니다. 다들 아시죠?
참조 솔루션
방법 1:
The Image Editor Activity disappears because Android destroys it as part of the Activity Lifecycle.
If you want to recreate the previous state of the app on relaunch, have a look at the Android docs on Recreating an Activity. The two sections about "Save your Activity state" and "Restore your Activity state" are likely what you want.
Note that your user will still lose any edits they made, but you can still restore the Image Editor Activity with the image they were editing.
(by aron、Ash Ryan Arnwine)