Skip to content

Commit

Permalink
Merge pull request #45 from voghDev/master
Browse files Browse the repository at this point in the history
Add getCurrentItem method to ScrollGalleryView
  • Loading branch information
VEINHORN committed Feb 20, 2017
2 parents b6e3d62 + 96c6bc9 commit c9febb3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ public ScrollGalleryView setCurrentItem(int i) {
return this;
}

public int getCurrentItem() {
return viewPager.getCurrentItem();
}

public ScrollGalleryView setThumbnailSize(int thumbnailSize) {
this.thumbnailSize = thumbnailSize;
return this;
Expand Down

0 comments on commit c9febb3

Please sign in to comment.