mirror of https://github.com/M66B/FairEmail.git
Ugly workaround
This commit is contained in:
parent
0da8783f7e
commit
16db4051de
|
@ -2241,6 +2241,15 @@ public class FragmentMessages extends FragmentBase {
|
||||||
|
|
||||||
Log.i("Submit messages=" + messages.size());
|
Log.i("Submit messages=" + messages.size());
|
||||||
adapter.submitList(messages);
|
adapter.submitList(messages);
|
||||||
|
|
||||||
|
// This is to workaround not drawing when the search is expanded
|
||||||
|
new Handler().post(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
rvMessage.requestLayout();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
rvMessage.setTag(messages.size());
|
rvMessage.setTag(messages.size());
|
||||||
|
|
||||||
if (boundaryCallback == null || !boundaryCallback.isLoading())
|
if (boundaryCallback == null || !boundaryCallback.isLoading())
|
||||||
|
|
Loading…
Reference in New Issue