Parameters between Fragment and Activity

Asked

Viewed 34 times

0

I have an Activity with a Fragment inside, but I want to pass the parameters present in the Fragment when changing from Activity, what I do?

  • Hello William, all right? can explain better and put your code so that users can help you in the best way possible?

  • the giant code, I’ll try to explain it better. Using google maps (which is a Fragment), I search my location so I want to pass this location (only the coordinates) to a next screen, but I can’t put a direct button in the map’s Fragment, I can only put it on Activity and in case I can’t get this information to the next Activity, I hope you can help me.

  • See a similar question. https://answall.com/questions/200944/sendos-datade-um-fragment-para-uma-activity

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.