Hello! I am creating a menu that shows different locations. Whenever a location is picked, a new screen appears, offering the option to view the selected location on Google Maps.
The menu is a Grid View that contains cells connecting to a Firebase database to retrieve information about the various locations. The button I created to open the location in Google Maps currently uses the function shown below:
This function loads a specific URL from the text box. I need help in making this button dynamic, so it retrieves a different URL based on the Cell/Location selected.