Back to project page android-google-places-master.
The source code is released under:
MIT License
If you think the Android project android-google-places-master 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.a2plab.googleplaces.result; /*from ww w. j a v a 2s . c om*/ import java.util.ArrayList; import java.util.List; import com.a2plab.googleplaces.models.Place; import com.a2plab.googleplaces.models.PlaceDetails; import com.google.api.client.util.Key; public class PlaceDetailsResult extends Result { @Key public PlaceDetails result; /* * (non-Javadoc) * * @see com.a2plab.googleplaces.result.Result#getResult() */ @Override public List<? extends Place> getResults() { List<PlaceDetails> detailsList = new ArrayList<PlaceDetails>(); detailsList.add(result); return detailsList; } public PlaceDetails getDetails() { return this.result; } }