From 7f882c423f29c5d6e976f898cda44ca790acc1f7 Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Mon, 4 Nov 2013 10:13:13 -0800 Subject: Put Gesture Detector inside of SubsonicFragment --- src/github/daneren2005/dsub/fragments/SubsonicFragment.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/github') 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; + } } -- cgit v1.2.3