code: protected void bindEventAndShow(final View v, ImageView targetImageView){
          final BaseSliderView me = this;
  
          v.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
              if(mOnSliderClickListener != null){
                  mOnSliderClickListener.onSliderClick(me);
              }
              }
          });
  
          if (targetImageView == null)
              return;
  
          if (mLoadListener != null) {
              mLoadListener.onStart(me);
          }
  
          Picasso p = (mPicasso != null) ? mPicasso : Picasso.with(mContext);
          RequestCreator rq = null;
          if(mUrl!=null){
              rq = p.load(mUrl);
          }else if(mFile != null){
              rq = p.load(mFile);
          }else if(mRes != 0){
              rq = p.load(mRes);
          }else{
              return;
          }
  
          if(rq == null){
              return;
          }
  
          if(getEmpty() != 0){
              rq.placeholder(getEmpty());
          }
  
          if(getError() != 0){
              rq.error(getError());
          }
  
          switch (mScaleType){
              case Fit:
                  rq.fit();
                  break;
              case CenterCrop:
                  rq.fit().centerCrop();
                  break;
              case CenterInside:
                  rq.fit().centerInside();
                  break;
          }
  
          rq.into(targetImageView,new Callback() {
              @Override
              public void onSuccess() {
                  if(v.findViewById(R.id.loading_bar) != null){
                      v.findViewById(R.id.loading_bar).setVisibility(View.INVISIBLE);
                  }
              }
  
              @Override
              public void onError() {
                  if(mLoadListener != null){
                      mLoadListener.onEnd(false,me);
                  }
                  if(v.findViewById(R.id.loading_bar) != null){
                      v.findViewById(R.id.loading_bar).setVisibility(View.INVISIBLE);
                  }
              }
          });
     }
docs: When you want to implement your own slider view, please call this method in the end in `getView()` method
  @param v the whole view
  @param targetImageView where to place image