code: public void show(final View view) {
          if (view.getVisibility() != View.VISIBLE) {
              view.setAlpha(0);
              view.setVisibility(View.VISIBLE);
              if (durationSet) {
                  view.animate().setDuration(duration);
              }
              view.animate().alpha(1);
          }
      }
docs: Sets the visibility of the specified view to View.VISIBLE and then fades it in. If the
  view is already visible, the method will return without doing anything.
  
  @param view The view to be faded in