Refactoring

pull/152/head
M66B 6 years ago
parent 2111688e6e
commit 10cf942c4e

@ -442,7 +442,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
} }
@SuppressLint("WrongConstant") @SuppressLint("WrongConstant")
private void bindTo(int position, final TupleMessageEx message) { private void bindTo(final TupleMessageEx message) {
setDisplacement(0); setDisplacement(0);
pbLoading.setVisibility(View.GONE); pbLoading.setVisibility(View.GONE);
@ -2788,7 +2788,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (message == null) if (message == null)
holder.clear(); holder.clear();
else { else {
holder.bindTo(position, message); holder.bindTo(message);
holder.wire(); holder.wire();
} }
} }

Loading…
Cancel
Save