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:
parent
1071e060b9
commit
8644c75e19
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue