Get share value from onActivityResult
Hello I an activity with two buttons. First I take a photo and in override onactivityresult I upload the photo in firebase and I get an url which I save to photoUrl . Then in the other btn listener inside oncreate I want to use this variable but I get null as I define it in the begin of the class. How can I get the value of photoUrl which I want?
<a href="https://gist.github.com/spartakos87/e0d492c7f2a9af76638bb50d05a30a46" rel="nofollow...