@Override public void onStepChange(PicSphere sphere, int newStep) { if (CameraActivity.getCameraMode() == CameraActivity.CAMERA_MODE_PICSPHERE) { mContext.setHelperText( String.format( mContext.getString(R.string.picsphere_rendering_progress), sphere.getRenderProgress())); } }
@Override public void onRenderDone(PicSphere sphere) { mPicSpheres.remove(sphere); if (CameraActivity.getCameraMode() == CameraActivity.CAMERA_MODE_PICSPHERE) { mContext.setHelperText(mContext.getString(R.string.picsphere_start_hint)); } if (mCapture3DRenderer != null) { mCapture3DRenderer.setCamPreviewVisible(true); } }