Fixed - Slow reaction on POI select

This commit is contained in:
Alexey Kulish 2015-11-12 21:58:58 +03:00
parent f52eb07120
commit d961f1e0a9

View file

@ -343,7 +343,7 @@ public class ContextMenuAdapter {
} }
}); });
} }
if (convertView == null || (convertView.getTag() != lid)) { if (convertView == null || (!lid.equals(convertView.getTag()))) {
convertView = activity.getLayoutInflater().inflate(lid, parent, false); convertView = activity.getLayoutInflater().inflate(lid, parent, false);
convertView.setTag(lid); convertView.setTag(lid);
} }