Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Correct imports.

  • Loading branch information...
commit 38cc3952f9d708d25153cba7e7a85d2d239f278d 1 parent bb21bf2
@JakeWharton authored
View
1  library/src/android/support/v4/app/_ActionBarSherlockTrojanHorse.java
@@ -21,6 +21,7 @@
import java.util.ArrayList;
+/** I'm in ur package. Stealing ur variables. */
public abstract class _ActionBarSherlockTrojanHorse extends FragmentActivity implements OnCreatePanelMenuListener, OnPreparePanelListener, OnMenuItemSelectedListener, OnActionModeStartedListener, OnActionModeFinishedListener {
static final boolean DEBUG = false;
private static final String TAG = "SherlockFragmentActivity";
View
6 library/src/com/actionbarsherlock/app/SherlockDialogFragment.java
@@ -8,9 +8,9 @@
import com.actionbarsherlock.view.MenuInflater;
import com.actionbarsherlock.view.MenuItem;
-import static android.support.v4.app._ActionBarSherlockTrojanHorse.OnCreateOptionsMenuListener;
-import static android.support.v4.app._ActionBarSherlockTrojanHorse.OnOptionsItemSelectedListener;
-import static android.support.v4.app._ActionBarSherlockTrojanHorse.OnPrepareOptionsMenuListener;
+import static com.actionbarsherlock.app.SherlockFragmentActivity.OnCreateOptionsMenuListener;
+import static com.actionbarsherlock.app.SherlockFragmentActivity.OnOptionsItemSelectedListener;
+import static com.actionbarsherlock.app.SherlockFragmentActivity.OnPrepareOptionsMenuListener;
public class SherlockDialogFragment extends DialogFragment implements OnCreateOptionsMenuListener, OnPrepareOptionsMenuListener, OnOptionsItemSelectedListener {
private SherlockFragmentActivity mActivity;
View
6 library/src/com/actionbarsherlock/app/SherlockFragment.java
@@ -8,9 +8,9 @@
import com.actionbarsherlock.view.MenuInflater;
import com.actionbarsherlock.view.MenuItem;
-import static android.support.v4.app._ActionBarSherlockTrojanHorse.OnCreateOptionsMenuListener;
-import static android.support.v4.app._ActionBarSherlockTrojanHorse.OnOptionsItemSelectedListener;
-import static android.support.v4.app._ActionBarSherlockTrojanHorse.OnPrepareOptionsMenuListener;
+import static com.actionbarsherlock.app.SherlockFragmentActivity.OnCreateOptionsMenuListener;
+import static com.actionbarsherlock.app.SherlockFragmentActivity.OnOptionsItemSelectedListener;
+import static com.actionbarsherlock.app.SherlockFragmentActivity.OnPrepareOptionsMenuListener;
public class SherlockFragment extends Fragment implements OnCreateOptionsMenuListener, OnPrepareOptionsMenuListener, OnOptionsItemSelectedListener {
private SherlockFragmentActivity mActivity;
View
6 library/src/com/actionbarsherlock/app/SherlockListFragment.java
@@ -8,9 +8,9 @@
import com.actionbarsherlock.view.MenuInflater;
import com.actionbarsherlock.view.MenuItem;
-import static android.support.v4.app._ActionBarSherlockTrojanHorse.OnCreateOptionsMenuListener;
-import static android.support.v4.app._ActionBarSherlockTrojanHorse.OnOptionsItemSelectedListener;
-import static android.support.v4.app._ActionBarSherlockTrojanHorse.OnPrepareOptionsMenuListener;
+import static com.actionbarsherlock.app.SherlockFragmentActivity.OnCreateOptionsMenuListener;
+import static com.actionbarsherlock.app.SherlockFragmentActivity.OnOptionsItemSelectedListener;
+import static com.actionbarsherlock.app.SherlockFragmentActivity.OnPrepareOptionsMenuListener;
public class SherlockListFragment extends ListFragment implements OnCreateOptionsMenuListener, OnPrepareOptionsMenuListener, OnOptionsItemSelectedListener {
private SherlockFragmentActivity mActivity;
Please sign in to comment.
Something went wrong with that request. Please try again.