Esempio n. 1
0
 public void hide() {
   clearBitmap();
   // If the type is set to one-shot, store that it has shot
   shotStateStore.storeShot();
   mEventListener.onShowcaseViewHide(this);
   fadeOutShowcase();
 }
 public void hide() {
   if (mEventListener != null) {
     mEventListener.onShowcaseViewHide(this);
   }
   if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
     fadeOutShowcase();
   } else {
     setVisibility(View.GONE);
   }
 }
Esempio n. 3
0
  public void hide() {
    mEventListener.onShowcaseViewHide(this);

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB
        && getConfigOptions().fadeOutDuration > 0) {
      fadeOutShowcase();
    } else {
      setVisibility(View.GONE);
      mEventListener.onShowcaseViewDidHide(this);
    }
  }