Refactoring

This commit is contained in:
M66B 2019-09-29 18:34:12 +02:00
parent 7b5522d011
commit b40f1c4588
1 changed files with 1 additions and 2 deletions

View File

@ -207,6 +207,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
private int answers = -1; private int answers = -1;
private boolean gotoTop = false; private boolean gotoTop = false;
private boolean firstClick = false;
private AsyncPagedListDiffer<TupleMessageEx> differ; private AsyncPagedListDiffer<TupleMessageEx> differ;
private Map<Long, Integer> keyPosition = new HashMap<>(); private Map<Long, Integer> keyPosition = new HashMap<>();
private SelectionTracker<Long> selectionTracker = null; private SelectionTracker<Long> selectionTracker = null;
@ -1509,8 +1510,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
return differ.getItem(pos); return differ.getItem(pos);
} }
private boolean firstClick = false;
@Override @Override
public boolean onTouch(View view, MotionEvent ev) { public boolean onTouch(View view, MotionEvent ev) {
if (ev.getPointerCount() > 1 && textSize != 0 && gestureDetector != null) { if (ev.getPointerCount() > 1 && textSize != 0 && gestureDetector != null) {