Skip to content

Instantly share code, notes, and snippets.

@JBirdVegas
Created January 9, 2013 18:37
Show Gist options
  • Save JBirdVegas/4495628 to your computer and use it in GitHub Desktop.
Save JBirdVegas/4495628 to your computer and use it in GitHub Desktop.
Sneaky PreferenceFragment that is aware of Overscroll
package com.example.sneakylist;
import android.preference.PreferenceFragment;
import android.widget.AbsListView;
/**
* Created with IntelliJ IDEA.
* User: jbird
* Date: 1/9/13
* Time: 1:16 PM
*/
public class TestSeakyListFragment extends PreferenceFragment implements AbsListView.OnScrollListener {
@Override
public void onScrollStateChanged(AbsListView absListView, int i) {
}
@Override
public void onScroll(AbsListView absListView, int i, int i2, int i3) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment