mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +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
|
|
@ -145,7 +145,7 @@ public class NearbyListFragment extends ListFragment {
|
||||||
public long getItemId(int position) {
|
public long getItemId(int position) {
|
||||||
return position;
|
return position;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
@Override
|
@Override
|
||||||
public int getItemCount() {
|
public int getItemCount() {
|
||||||
return placesList == null ? 0 : placesList.size();
|
return placesList == null ? 0 : placesList.size();
|
||||||
|
|
@ -153,12 +153,14 @@ public class NearbyListFragment extends ListFragment {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onItemClick(View view, int position) {
|
public void onItemClick(View view, int position) {
|
||||||
|
|
||||||
if (!mItemClicked) {
|
if (!mItemClicked) {
|
||||||
mItemClicked = true;
|
mItemClicked = true;
|
||||||
View heroView = view.findViewById(android.R.id.icon);
|
View heroView = view.findViewById(android.R.id.icon);
|
||||||
DetailActivity.launch(
|
DetailActivity.launch(
|
||||||
getActivity(), mAdapter.mAttractionList.get(position).name, heroView);
|
getActivity(), mAdapter.mAttractionList.get(position).name, heroView);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue