Remove unnecessary listener

This commit is contained in:
PavelRatushny 2017-11-17 15:04:09 +02:00
parent 1dc65b0827
commit 31090be952

View file

@ -384,15 +384,6 @@ public class OsmEditsFragment extends OsmAndListFragment implements SendPoiDialo
listView.setFooterDividersEnabled(false);
}
listView.setAdapter(listAdapter);
listView.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
OsmPoint it = listAdapter.getItem(position);
openPopUpMenu(view, it);
}
});
} else {
listAdapter.setOsmEdits(osmEdits);
}