|
@ -80,7 +80,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe |
|
|
@Override |
|
|
@Override |
|
|
public void onStateChanged(LifecycleOwner source, Lifecycle.Event event) { |
|
|
public void onStateChanged(LifecycleOwner source, Lifecycle.Event event) { |
|
|
if (event == Lifecycle.Event.ON_DESTROY) |
|
|
if (event == Lifecycle.Event.ON_DESTROY) |
|
|
new Thread(new Runnable() { |
|
|
|
|
|
|
|
|
executor.submit(new Runnable() { |
|
|
@Override |
|
|
@Override |
|
|
public void run() { |
|
|
public void run() { |
|
|
Log.i(Helper.TAG, "Boundary close"); |
|
|
Log.i(Helper.TAG, "Boundary close"); |
|
@ -95,7 +95,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe |
|
|
imessages = null; |
|
|
imessages = null; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}).start(); |
|
|
|
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|