adspace
Answer Posted / Naushad Alam
onTrimMemory() is a callback method in Android components (Activities, Services, etc.) that gets called when system memory becomes low and the garbage collector attempts to free up resources. The method receives an integer argument representing the current level of memory pressure: TRIM_MEMORY_MODERATE, TRIM_MEMORY_BACKGROUND, or TRIM_MEMORY_UI_DISABLED.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers