title: Recyclerview only load Image when itemview is shown
body: <p>I would like to load images in my itemviews of my recyclerview but only if the itemview is shown.
  I tried something like this in my adapter so far:</p>
  
  <pre><code>if (holder.itemView.isShown()) {
              Log.e("SHOWn", "yes " + position);
          }
          if (holder.itemView.isFocused()) {
              Log.e("FOCUSED", "yes " + position);
          }
          if (holder.itemView.hasFocus()) {
              Log.e("HASFOCUS", "yes " + position);
          }
  </code></pre>
  
  <p>and I tried in my fragment to add a onScrollListener to the recylcerview:</p>
  
  <pre><code>recyclerViewSearchGif.addOnScrollListener(new RecyclerView.OnScrollListener() {
              @Override
              public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
                  super.onScrolled(recyclerView, dx, dy);
  
              }
  
              @Override
              public void onScrollStateChanged(RecyclerView recyclerView, int newState) {
                  super.onScrollStateChanged(recyclerView, newState);
              }
          });
  </code></pre>
  
  <p>But I don't know how to use it for my case.
  To sum up, I would like to detect the current visible item in the recyclerview while the user scrolled in it.</p>