public class EarthquakeCityMap {
private UnfoldingMap map;
private List<Marker> cityMarkers;
private List<Marker> quakeMarkers;
private List<Marker> countryMarkers;
private CommonMarker lastSelected;
}
I understand the declaration "List" but could not understand "private CommonMarker lastSelected"
I do not want to give you trouble. But if you could not understand this, here is the link for the entire source code https://github.com/areszhao/UnfoldingMaps/tree/master/src/module6
Thank you
这意味着,一个EarthquakeCityMap
类有一个CommonMarker
称为lastSelected,并且访问lastSelected对象被限制为内EarthquakeCityMap
类。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.