如题,从 ActivityA start ActivityB,B的launchMode为singleTask;
问,如何将 ActivityB 的结果返回给 ActivityA?
PHP中文网2017-04-17 11:40:12
startActivityForResult
Start BsetResult
and then finish
onActivityResult
receives data巴扎黑2017-04-17 11:40:12
You can use some event frameworks such as EventBus and Otto to replace Android's native intent communication.