|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentCallbacks
The set of callback APIs that are common to all application components
(Activity, Service,
ContentProvider, and Application).
| Method Summary | |
|---|---|
void |
onConfigurationChanged(Configuration newConfig)
Called by the system when the device configuration changes while your component is running. |
void |
onLowMemory()
This is called when the overall system is running low on memory, and would like actively running process to try to tighten their belt. |
| Method Detail |
|---|
void onConfigurationChanged(Configuration newConfig)
At the time that this function has been called, your Resources object will have been updated to return resource values matching the new configuration.
newConfig - The new device configuration.void onLowMemory()
Applications that want to be nice can implement this method to release any caches or other unnecessary resources they may be holding on to. The system will perform a gc for you after returning from this method.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||