Skip to content

Commit

Permalink
rename PullToRefresh to SwipeToRefresh
Browse files Browse the repository at this point in the history
  • Loading branch information
maxme committed Nov 12, 2014
1 parent 0d8d414 commit 4024637
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import java.util.HashSet;
import java.util.Set;

public class PullToRefreshHelper implements OnRefreshListener {
public class SwipeToRefreshHelper implements OnRefreshListener {
public static final String BROADCAST_ACTION_REFRESH_MENU_PRESSED = "REFRESH_MENU_PRESSED";
private static final String REFRESH_BUTTON_HIT_COUNT = "REFRESH_BUTTON_HIT_COUNT";
private static final Set<Integer> TOAST_FREQUENCY = new HashSet<Integer>(Arrays.asList(1, 5, 10, 20, 40, 80, 160,
Expand All @@ -36,7 +36,7 @@ public interface RefreshListener {
public void onRefreshStarted();
}

public PullToRefreshHelper(Activity activity, SwipeRefreshLayout swipeRefreshLayout, RefreshListener listener) {
public SwipeToRefreshHelper(Activity activity, SwipeRefreshLayout swipeRefreshLayout, RefreshListener listener) {
init(activity, swipeRefreshLayout, listener);
}

Expand Down

0 comments on commit 4024637

Please sign in to comment.