190312 startActivityForResult Intent.FLAG_ACTIVITY_FORWARD_RESULT

我需要的情況
A start B, A finished
B start C,
C start A, C finished, B needs to be finished also

於是找到以下這篇文章
https://medium.com/@douglas.iacovelli/android-send-result-back-through-multiple-activities-finished-or-not-4c2ba9e95112

A
1. startActivity
2. finish

B
1. startActivityForResult
2. onActivityResult

C
1. setResult
2. startActivity
3. finish

留言

這個網誌中的熱門文章

泰文子音與字形之間的變化

AUTOMAXX UP-5HX 使用心得