Commit 6f9f93b3 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Overload QtAndroid::startActivity with a callback


The current way of handling activity results by inheriting from QAndroidActivityResultReceiver
is very un-Qt. This patch allows handling activity results by passing a std::function/lambda
expression to the startActivity function.

Change-Id: Ie9dc91cd02dfcdb16a9ad0cb7858387e75159815
Reviewed-by: default avatarBogDan Vatra <bogdan@kdab.com>
parent 210b6081
Showing with 162 additions and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment