Java Question How to use androidx.activity.result.ActivityResultRegistry in B4A

sareban

Member
Hi
I want to wrapp a library that needs ActivityResultRegistry in one of its methods
how can i get it in b4a?
 

sareban

Member
that is it

in android studio in AppCompatActivity i can get it with yshis method:
this.getActivityResultRegistry

And according to this article
added in androidx.activity:1.2

version of androidx.activity in my sdk is 1.1

so when i update androidx.appcompat and androidx.activity from sdk manager i can not run my project it has error before start activity

how can i fix it?
 

sareban

Member
or accord this if can i update appcompat of sdk to 1.3 or higher i can fix it

but when i update it i can not run my project

please help me
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…