What's the usage of setExtraCallback method in Waypoint class?

Carlos Vela shared this question 1 month ago
In Progress

I read the following in the method class documentation: This appear when you click on point and then under last button will be your button.

I was wondering if this methos adds a custom button on the popup shown when just touching a waypoint. Is it right?

Comments (1)

photo
1

Good day Carlos,

this is little-outdated description as I see, anyway system is still the same.

This method truly adds a button to point, but it will appear not directly in the popup on the map, but in the bottom toolbar in point detail screen under "Share" button. Click on button then start intent on the defined package with defined parameter & it's value.

Better?