The new jetpack register for activity result API

Madona Wambua

Android Engineer


Android docs now recommend using this new registerForActivityResult API in favor of the old one, onActivityResult, we can dive deep into how this new API has made part of development seamless. Also, one can define a custom contract so that the consuming app can get results as a sealed class rather than as an intent.

Madona is an Android Engineer III at Streem-Frontdoor, founder of Budgeting Buddy, a current student at Samuel Ginn, Women Who Code Mobile Lead, Women Tech Maker Ambassador, and a developer who enjoys sharing her Android knowledge and teaching others how to make Android applications.