Skip to content
Browse files

Changed access for the two methods, although it doesn't even matter a…

…s the whole class is package private anyway.
  • Loading branch information...
1 parent 70e6e84 commit 6cac9b68f084347eb37f1688a2b73200b45a55fa @roughike committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 swipe-selector/src/main/java/com/roughike/swipeselector/SwipeAdapter.java
View
4 swipe-selector/src/main/java/com/roughike/swipeselector/SwipeAdapter.java
@@ -281,7 +281,7 @@ protected SwipeItem getSelectedItem() {
return mItems.get(mCurrentPosition);
}
- public void selectItemAt(int position, boolean animate) {
+ protected void selectItemAt(int position, boolean animate) {
if (position < 0 || position >= mItems.size()) {
throw new IndexOutOfBoundsException("This SwipeSelector does " +
"not have an item at position " + position + ".");
@@ -290,7 +290,7 @@ public void selectItemAt(int position, boolean animate) {
mViewPager.setCurrentItem(position, animate);
}
- public void selectItemWithValue(Object value, boolean animate) {
+ protected void selectItemWithValue(Object value, boolean animate) {
boolean itemExists = false;
for (int i = 0; i < mItems.size(); i++) {

0 comments on commit 6cac9b6

Please sign in to comment.
Something went wrong with that request. Please try again.