Android registerForResultActivity() | Kotlin Tutorial

Publié le: 15 novembre 2021
sur la chaîne: Graphics Illusion
248
5

This Video Is Part 1 for Understanding registerForActivityResult() API. Although This One is Enough to start using it, but if you want to learn How to Create Custom Contract for any Custom Activity Launch, That's where Part 2 comes in.

As Google has a Habit of Replacing new stuff with old methods that everyone is currently using...
The Old Method to Launch an activity in fragment to get a result from it is getting deprecated and is being replaced by registerForActivityResult() API Callback.....

The Activity Result APIs provide components for registering for a result, launching the result, and handling the result once it is dispatched by the system.

In This Video I Show How To Use This API Callback by showing an example of Launching an Activity To Get Uri of an Image From Gallery.

Android Developer Link:
https://developer.android.com/trainin...


Sur cette page du site, vous pouvez voir la vidéo en ligne Android registerForResultActivity() | Kotlin Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Graphics Illusion 15 novembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 248 fois et il a aimé 5 téléspectateurs. Bon visionnage!