title: scrollToPositionWithOffset from LinearLayoutManager on RecyclerView not working
body: <p>I'm trying to make an horizontal list of sticky images with <code>RecyclerView</code> and I'd like to move them by pixels' offset with <a href="http://developer.android.com/intl/ja/reference/android/support/v7/widget/LinearLayoutManager.html#scrollToPositionWithOffset(int,%20int)" rel="nofollow"><code>scrollToPositionWithOffset</code></a>. I thought passing <code>0</code> as <code>position</code> and the pixels I want to move to right / left as <code>offset</code>.</p>
  
  <p>But it doesn't work, the list remains untouched, unscrolled, it doesn't move. This is my implementation:</p>
  
  <pre><code>final LargeImageAdapter mLargeImageAdapter = new LargeImageAdapter(this);
  linearLayoutManager = new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false);
  recyclerView.setLayoutManager(linearLayoutManager);
  recyclerView.setAdapter(mLargeImageAdapter);
  
  seekBar = (SeekBar)findViewById(R.id.seekBar);
  seekBar.setMax(7000);
  seekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
      @Override
      public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
          int scrollToDX = progress;
  
          ((LinearLayoutManager)recyclerView.getLayoutManager()).scrollToPositionWithOffset(0, scrollToDX);
          // tried invoking also linearLayoutManager instead getLayoutManager.
      }
  
      @Override
      public void onStartTrackingTouch(SeekBar seekBar) {
  
      }
  
      @Override
      public void onStopTrackingTouch(SeekBar seekBar) {
  
      }
  });
  </code></pre>
  
  <p>what am I doing wrong?</p>
  
  <p>Thank you very much.</p>
  
  <p>Regards.</p>
  
  <p>Rafael.</p>