I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 207f9837 authored by str4d's avatar str4d
Browse files

Don't duplicate RouterContextProvider interface

parent cda09ea4
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,6 @@ import android.support.v7.app.ActionBar; ...@@ -13,7 +13,6 @@ import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBar.Tab; import android.support.v7.app.ActionBar.Tab;
public class NetDbActivity extends I2PActivityBase implements public class NetDbActivity extends I2PActivityBase implements
NetDbListFragment.RouterContextProvider,
NetDbListFragment.OnEntrySelectedListener { NetDbListFragment.OnEntrySelectedListener {
/** /**
* Whether or not the activity is in two-pane mode, i.e. running on a tablet * Whether or not the activity is in two-pane mode, i.e. running on a tablet
......
...@@ -4,6 +4,7 @@ import java.util.List; ...@@ -4,6 +4,7 @@ import java.util.List;
import net.i2p.android.router.R; import net.i2p.android.router.R;
import net.i2p.android.router.adapter.NetDbEntryAdapter; import net.i2p.android.router.adapter.NetDbEntryAdapter;
import net.i2p.android.router.fragment.I2PFragmentBase.RouterContextProvider;
import net.i2p.android.router.loader.NetDbEntry; import net.i2p.android.router.loader.NetDbEntry;
import net.i2p.android.router.loader.NetDbEntryLoader; import net.i2p.android.router.loader.NetDbEntryLoader;
import net.i2p.data.Hash; import net.i2p.data.Hash;
...@@ -42,11 +43,6 @@ public class NetDbListFragment extends ListFragment ...@@ -42,11 +43,6 @@ public class NetDbListFragment extends ListFragment
private int mActivatedPosition = ListView.INVALID_POSITION; private int mActivatedPosition = ListView.INVALID_POSITION;
private boolean mActivateOnItemClick = false; private boolean mActivateOnItemClick = false;
// Container Activity must implement this interface
public interface RouterContextProvider {
public RouterContext getRouterContext();
}
// Container Activity must implement this interface // Container Activity must implement this interface
public interface OnEntrySelectedListener { public interface OnEntrySelectedListener {
public void onEntrySelected(boolean isRouterInfo, Hash entryHash); public void onEntrySelected(boolean isRouterInfo, Hash entryHash);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment