Refactoring

This commit is contained in:
M66B 2019-03-18 07:30:16 +00:00
parent 1a747eec45
commit afa752328c
1 changed files with 3 additions and 2 deletions

View File

@ -149,8 +149,6 @@ public class FragmentMessages extends FragmentBase {
private int autoCloseCount = 0; private int autoCloseCount = 0;
private boolean autoExpanded = true; private boolean autoExpanded = true;
private Map<String, List<Long>> values = new HashMap<>(); private Map<String, List<Long>> values = new HashMap<>();
private LongSparseArray<Spanned> bodies = new LongSparseArray<>();
private LongSparseArray<String> html = new LongSparseArray<>();
private LongSparseArray<TupleAccountSwipes> accountSwipes = new LongSparseArray<>(); private LongSparseArray<TupleAccountSwipes> accountSwipes = new LongSparseArray<>();
private BoundaryCallbackMessages boundaryCallback = null; private BoundaryCallbackMessages boundaryCallback = null;
@ -555,6 +553,9 @@ public class FragmentMessages extends FragmentBase {
} }
private AdapterMessage.IProperties iProperties = new AdapterMessage.IProperties() { private AdapterMessage.IProperties iProperties = new AdapterMessage.IProperties() {
private LongSparseArray<Spanned> bodies = new LongSparseArray<>();
private LongSparseArray<String> html = new LongSparseArray<>();
@Override @Override
public void setValue(String name, long id, boolean enabled) { public void setValue(String name, long id, boolean enabled) {
if (!values.containsKey(name)) if (!values.containsKey(name))