mirror of https://github.com/M66B/FairEmail.git
Forever ends now
This commit is contained in:
parent
72c7e3df08
commit
b35713c6b1
|
@ -147,14 +147,6 @@ public class ViewModelMessages extends ViewModel {
|
|||
|
||||
model = new Model(args, builder.build(), boundary);
|
||||
models.put(viewType, model);
|
||||
|
||||
if (viewType != AdapterMessage.ViewType.THREAD)
|
||||
// Keep list up-to-date for previous/next navigation
|
||||
model.list.observeForever(new Observer<PagedList<TupleMessageEx>>() {
|
||||
@Override
|
||||
public void onChanged(PagedList<TupleMessageEx> messages) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
owner.getLifecycle().addObserver(new LifecycleObserver() {
|
||||
|
|
Loading…
Reference in New Issue