Fix/cleanup

pull/171/head
M66B 5 years ago
parent be9ca6beed
commit b2724c35db

@ -261,7 +261,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
BottomNavigationView.OnNavigationItemSelectedListener {
private ViewCardOptional card;
private View view;
private View header;
private View vwColor;
private ImageButton ibExpander;
@ -385,7 +384,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
card = itemView.findViewById(R.id.card);
view = itemView.findViewById(R.id.clItem);
header = itemView.findViewById(R.id.inHeader);
vwColor = itemView.findViewById(R.id.vwColor);
ibExpander = itemView.findViewById(R.id.ibExpander);
@ -623,7 +621,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (accessibility)
header.setAccessibilityDelegate(accessibilityDelegateHeader);
view.setAccessibilityDelegate(accessibilityDelegateHeader);
}
private void unwire() {
@ -668,7 +666,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
}
if (accessibility)
header.setAccessibilityDelegate(null);
view.setAccessibilityDelegate(null);
}
private void clear() {

Loading…
Cancel
Save