diff options
author | daneren2005 <daneren2005@gmail.com> | 2013-11-04 10:13:13 -0800 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2013-11-04 10:13:13 -0800 |
commit | 7f882c423f29c5d6e976f898cda44ca790acc1f7 (patch) | |
tree | 6ddb701b02074cf10857328eac86e1da1ec7766a /src/github | |
parent | 7de658be45021f1379cac353501686b9bec25231 (diff) | |
download | dsub-7f882c423f29c5d6e976f898cda44ca790acc1f7.tar.gz dsub-7f882c423f29c5d6e976f898cda44ca790acc1f7.tar.bz2 dsub-7f882c423f29c5d6e976f898cda44ca790acc1f7.zip |
Put Gesture Detector inside of SubsonicFragment
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SubsonicFragment.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java index bab8cd84..99e253f5 100644 --- a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java +++ b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java @@ -32,6 +32,7 @@ import android.os.Bundle; import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.ContextMenu;
+import android.view.GestureDetector;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
@@ -88,6 +89,7 @@ public class SubsonicFragment extends Fragment { protected boolean secondaryFragment = false;
protected boolean invalidated = false;
protected static Random random = new Random();
+ protected GestureDetector gestureScanner;
public SubsonicFragment() {
super();
@@ -1003,4 +1005,8 @@ public class SubsonicFragment extends Fragment { refresh();
}
}
+
+ public GestureDetector getGestureDetector() {
+ return gestureScanner;
+ }
}
|