This commit is contained in:
Sem van der Hoeven
2021-01-06 13:42:26 +01:00
parent 1f53890a4b
commit 98eeba4de1
2 changed files with 55 additions and 11 deletions

View File

@@ -45,6 +45,10 @@ public class RouteDetailFragment extends Fragment {
return view;
}
/**
* Button onclick method that starts the route that is being viewed.
* @param view the button
*/
public void startRoute(View view) {
ApiHandler.INSTANCE.getDirections(route);
RouteHandler.INSTANCE.followRoute(route);