mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Comment out methods that only need to be added later
This commit is contained in:
parent
ffe70f9d31
commit
3809c1fdbd
1 changed files with 5 additions and 3 deletions
|
|
@ -62,7 +62,7 @@ public class NearbyListFragment extends ListFragment {
|
|||
|
||||
return view;
|
||||
}
|
||||
|
||||
|
||||
private static List<Place> loadAttractionsFromLocation(final LatLng curLatLng) {
|
||||
|
||||
List<Place> places = NearbyPlaces.get();
|
||||
|
|
@ -145,7 +145,7 @@ public class NearbyListFragment extends ListFragment {
|
|||
public long getItemId(int position) {
|
||||
return position;
|
||||
}
|
||||
|
||||
/*
|
||||
@Override
|
||||
public int getItemCount() {
|
||||
return placesList == null ? 0 : placesList.size();
|
||||
|
|
@ -153,12 +153,14 @@ public class NearbyListFragment extends ListFragment {
|
|||
|
||||
@Override
|
||||
public void onItemClick(View view, int position) {
|
||||
|
||||
if (!mItemClicked) {
|
||||
mItemClicked = true;
|
||||
View heroView = view.findViewById(android.R.id.icon);
|
||||
DetailActivity.launch(
|
||||
getActivity(), mAdapter.mAttractionList.get(position).name, heroView);
|
||||
}
|
||||
}
|
||||
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue