Refactoring

This commit is contained in:
M66B 2019-03-04 10:18:42 +00:00
parent 2111688e6e
commit 10cf942c4e
1 changed files with 2 additions and 2 deletions

View File

@ -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();
} }
} }