Back to project page GoogleDirectionsClient.
The source code is released under:
Apache License
If you think the Android project GoogleDirectionsClient listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.manuelpeinado.googledirectionsclient; //from www . jav a 2s. c om import java.util.ArrayList; import java.util.List; public class Route { public List<Leg> legs; public List<Step> getAllSteps() { List<Step> result = new ArrayList<Step>(); for (Leg leg : legs) { result.addAll(leg.getStepList()); } return result; } }