Код: Выделить всё
if (isHighPerformanceDevice()) {
// run code for devices with high performance
} else if (isMediumPerformanceDevice()) {
// run code for devices with medium performance
} else {
// run code for devices with low performance
}
< /code>
или, по крайней мере: < /p>
if (isHighPerformanceDevice()) {
// run code for devices with high performance
} else {
// run code for devices with low performance
}
устройства с android 10 и выше.
Подробнее здесь: https://stackoverflow.com/questions/718 ... mmatically