Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Closes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
Malinskiy committed Jul 28, 2015
1 parent f858aaa commit 01cfec8
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,16 @@ public View getEmptyView() {
return mEmptyView;
}

/**
* Animate a scroll by the given amount of pixels along either axis.
*
* @param dx Pixels to scroll horizontally
* @param dy Pixels to scroll vertically
*/
public void smoothScrollBy(int dx, int dy) {
mRecycler.smoothScrollBy(dx, dy);
}

public enum LAYOUT_MANAGER_TYPE {
LINEAR,
GRID,
Expand Down

0 comments on commit 01cfec8

Please sign in to comment.