According to Steve, the fragment must be modular. However, this means that the message should not go through any activity, but remain within the fragment.
To solve this problem, make sure your ListAdapter has a link to the fragment and uses fragment.startActivityForResult() . Then the result will return to the onActivityResult() fragment.
Adam nybรคck
source share