Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Commit

Permalink
Merge pull request #37 from nullpointerexceptionapps/master
Browse files Browse the repository at this point in the history
expose recyclerView.scrollToPosition()
  • Loading branch information
thorbenprimke committed Apr 26, 2016
2 parents 88c192c + 8f03b70 commit c20b30b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,10 @@ public void smoothScrollToPosition(int position) {
recyclerView.smoothScrollToPosition(position);
}

public void scrollToPosition(int position) {
recyclerView.scrollToPosition(position);
}

//
// Pull-to-refresh
//
Expand Down

0 comments on commit c20b30b

Please sign in to comment.