1- First you'll have to start the Activity from your fragment using startActivityForResult()
2- Make sure to call super.onActivityResult
in your Activity's onActivityResult()
method ( if you're implementing it)
3-Inside your fragment, you just need to implement onActivityResult()
and handle the result as you wish
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…