Ugly workaround

This commit is contained in:
M66B 2019-03-20 11:32:00 +00:00
parent 0da8783f7e
commit 16db4051de
1 changed files with 9 additions and 0 deletions

View File

@ -2241,6 +2241,15 @@ public class FragmentMessages extends FragmentBase {
Log.i("Submit messages=" + messages.size());
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());
if (boundaryCallback == null || !boundaryCallback.isLoading())