This is a sample project to demonstrate the new ActivityResult API in android, since the deprecation of android startActivityForResult and onActivityResult, here we are using the new alternatives of it, which is ActivityResult API, to acheive the same functionality , to get result back from another activity.
You can learn more about it in my blog post here: https://madtutorial.blogspot.com/2021/05/android-activity-result-api-example.html