private void markerDownloaded(DataMarker marker) {
   // hideProgressControls();
   if (marker != null) {
     stopMarkerDetectionProcess();
     mMarkerSurfaceView.stopDisplayingDetectedMarker();
     displayMarkerDetail(marker);
   } else mMarkerSurfaceView.stopDisplayingDetectedMarker();
 }
 public void onBrowseMarkerSelected(DataMarker marker) {
   mMarkerSurfaceView.stopDisplayingDetectedMarker();
   stopMarkerDetectionProcess();
   displayMarkerDetail(marker);
 }
 // OnMarkerPopupWindowListener methods.
 public void onDismissedSelected(DataMarker marker) {
   mMarkerSurfaceView.stopDisplayingDetectedMarker();
 }
 public void onImageBrowseMarkerSelected(DataMarker marker) {
   mMarkerSurfaceView.stopDisplayingDetectedMarker();
 }