Kotlin explain me about registerForActivityResult

Viewed 37

help me explain about "registerForActivityResult" . Specific problem:

  1. I have MainActivity : int a , and int b => send a, b to activity2

  2. in activity2 i sum a+b

  3. send result a+b back to MainActivity

  4. Display result of a+b on MainActivity . I have searched many places but to no avail

0 Answers
Related