Reduce memory pressure

This commit is contained in:
M66B 2020-08-29 20:06:04 +02:00
parent 1071e060b9
commit 8644c75e19
1 changed files with 1 additions and 1 deletions

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()) {