关闭某一页面
点击事件里面写:
BabyCamera.main.onBackPressed();
清除数据,防止内存溢出
生命周期里面写:
@Override
public void onClose() {
// TODO Auto-generated method stub
mImageViewer.clear();
mImageViewer.setSwitchListener(null);
mImageViewer.setOnClickListener(null);
}