For the Crosswalk library I'm developing, document says that it needs many activity lifecycle events and onDestroy() is MUST, since otherwise it will cause memory leak from the native side of the web engine.
Refer: https://crosswalk-project.org/apis/embeddingapidocs/reference/org/xwalk/core/XWalkView.html
The document talks about these events:
onCreate -> Activity_Create
onResume -> Activity_Resume
onPause -> Activity_Pause
onDestroy
onActivityResult
onNewIntent
I wish to have provision to hook-up code to onDestroy and other events.
Older related discussion: http://www.b4x.com/android/forum/threads/implement-ondestroy.20244/
Refer: https://crosswalk-project.org/apis/embeddingapidocs/reference/org/xwalk/core/XWalkView.html
The document talks about these events:
onCreate -> Activity_Create
onResume -> Activity_Resume
onPause -> Activity_Pause
onDestroy
onActivityResult
onNewIntent
I wish to have provision to hook-up code to onDestroy and other events.
Older related discussion: http://www.b4x.com/android/forum/threads/implement-ondestroy.20244/