@Override
 public void onError(ErrorsEnum error) {
   showError(error.getId());
   if (error.getType() == ErrorTypeEnum.INTERNET_ERROR) {
     CommentsPresenter presenter =
         MvpFactory.getPresenter(
             getActivity(),
             this,
             BoatSingleton.InstanceOfSessionSingleton().getBoat(),
             InternetConnectionStatus.DISCONNECTED);
     presenter.getComments();
   }
 }
 @Override
 public void onViewCreated(View view, Bundle savedInstanceState) {
   super.onViewCreated(view, savedInstanceState);
   ButterKnife.bind(this, view);
   commentSwipe.setOnRefreshListener(this);
   presenter =
       MvpFactory.getPresenter(
           getActivity(),
           this,
           BoatSingleton.InstanceOfSessionSingleton().getBoat(),
           InternetConnectionStatus.CONNECTED);
   presenter.getComments();
 }