Skip to content
Snippets Groups Projects
Verified Commit c7949d6e authored by Torsten Grote's avatar Torsten Grote
Browse files

Disable pre-fetching in Threaded RecyclerView as a workaround for #1289

parent 0187264d
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,8 @@ public abstract class ThreadListActivity<G extends NamedGroup, I extends ThreadI
textInput.setListener(this);
list = findViewById(R.id.list);
layoutManager = new LinearLayoutManager(this);
// FIXME pre-fetching messes with read state, find better solution #1289
layoutManager.setItemPrefetchEnabled(false);
list.setLayoutManager(layoutManager);
adapter = createAdapter(layoutManager);
list.setAdapter(adapter);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment