1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Reduce memory pressure

This commit is contained in:
M66B 2020-08-29 20:06:04 +02:00
parent 1071e060b9
commit 8644c75e19

View file

@ -509,7 +509,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
});
rvMessage.setHasFixedSize(false);
rvMessage.setItemViewCacheSize(100); // Default: 2
rvMessage.setItemViewCacheSize(20); // Default: 2
//rvMessage.getRecycledViewPool().setMaxRecycledViews(0, 10);
final LinearLayoutManager llm = new LinearLayoutManager(getContext()) {