android - noHistory and child activity result -
i have following case:
activity a -> activity b (nohistory set) -> activity c
i need have result c returned a when c finishes. possible?
the way achieve retaining history b , forwarding result c via it. thus, though, if b launched , program restored background, b displayed. prefer b not kept on stack.
as confirmed kamen, flag_activity_forward_result should used in such case. tutorial says:
if set , intent being used launch new activity existing one, reply target of existing activity transfered new activity. way new activity can call setresult(int) , have result sent reply target of original activity.
Comments
Post a Comment