code: @Deprecated
      public void setLoading(){
          mState = STATE_LOADING;
          mProgress.setVisibility(View.VISIBLE);
          mAction.setVisibility(View.GONE);
          mMessage.setVisibility(View.GONE);
          mIcon.setVisibility(View.GONE);
      }
docs: Set this view to loading state to show a loading indicator and hide the other parts
  of this view.
  
  @deprecated see {@link #setLoading(boolean)} and {@link #setState(int)}