我有一个应用程序,显示活动中的全屏位图.为了提供快速加载时间,我将它们加载到内存中.但是当屏幕改变方向时,我想清除缓存,以便再次使用适合新维度的位图填充它.唯一的问题是,为了做到这一点,我需要检测何时发生方向变化.有谁知道如何检测这个?
android screen-orientation orientation-changes
android ×1
orientation-changes ×1
screen-orientation ×1