Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Conversation

@montegoulding
Copy link
Member

A new handler has been added to facilitate starting activities by Intent and
handling results. The StartActivityForResult handler registers a listener to
handle the onActivityResult method of the engine activity and when handled
calls a callback handler with the request code, result code and Intent object.

@montegoulding montegoulding added this to the 9.7.0-dp-1 milestone Oct 21, 2020
@montegoulding montegoulding self-assigned this Oct 21, 2020
This patch implements an `OnActivityResultListener` interface so it is possible to
handle `onActivityResult` for a particular result code.

This implementation should be icnsidered temporary until bug 19920 (EngineAPI class)
is implemented at which point `OnActivityResultListener` would likely become an
interface of `EngineAPI` rather than `LiveCodeActivity`.
This patch adds new handler to facilitate starting activities by Intent and
handling results. The `StartActivityForResult` handler registers a listener to
handle the `onActivityResult` method of the engine activity and when handled
calls a callback handler with the request code, result code and Intent object.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant