Modify comments

This commit is contained in:
misaochan 2016-08-29 19:40:37 +12:00
parent 23eb8a2d37
commit 2a7a0a3e08

View file

@ -63,14 +63,14 @@ public class NearbyListFragment extends ListFragment {
return view;
}
//TODO: Do asynchronously?
//TODO: Do asynchronously
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
//Load from data source (NearbyPlaces.java)
mLatestLocation = ((NearbyActivity) getActivity()).getmLatestLocation();
//FIXME: Hardcoding mLatestLocation to Michigan for testing
//Hardcoding mLatestLocation to Michigan for testing
//mLatestLocation = new LatLng(44.182205, -84.506836);
places = loadAttractionsFromLocation(mLatestLocation);
@ -147,6 +147,7 @@ public class NearbyListFragment extends ListFragment {
distance.setText(place.distance);
//TODO: Check for description type and set Drawable image here
//Types of desc: landmark, city, event, mountain, isle
icon.setImageResource(place.image);
// Return the completed view to render on screen