mirror of https://github.com/M66B/FairEmail.git
Refactoring
This commit is contained in:
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…
Reference in New Issue