public void show() { if (mEventListener != null) { mEventListener.onShowcaseViewShow(this); } if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB && getConfigOptions().fadeInDuration > 0) { fadeInShowcase(); } else { setVisibility(View.VISIBLE); } }
public void hide() { if (mEventListener != null) { mEventListener.onShowcaseViewHide(this); } if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB && getConfigOptions().fadeOutDuration > 0) { fadeOutShowcase(); } else { setVisibility(View.GONE); } }