code: private void onCodeContainerAnimationEnd(boolean isCodeVisible) {
          if (isCodeVisible) {
              mCodeContainer.setVisibility(View.GONE);
              mFab.setImageResource(R.drawable.ic_code_black_24dp);
              mCodeContainer.scrollTo(0, 0);
          } else {
              mFab.setImageResource(R.drawable.ic_close_black_24dp);
          }
  
          mIsAnimating = false;
      }
docs: Updates the view on animation end.
  
  @param isCodeVisible