title: OnActivityResult method is deprecated, what is the alternative?
body: <p>I recently discovered that <code>onActivityResult</code> is deprecated. What should we do to handle it?</p>
  <p>Any alternative introduced for that?</p>
  <p><a href="https://i.stack.imgur.com/JbJvj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JbJvj.png" alt="Image showing code with onActivityResult striked out, indicating deprecation" /></a></p>