Don't duplicate RouterContextProvider interface

This commit is contained in:
str4d
2013-11-12 00:42:14 +00:00
parent cda09ea4f5
commit 207f9837d0
2 changed files with 1 additions and 6 deletions

View File

@ -13,7 +13,6 @@ import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBar.Tab;
public class NetDbActivity extends I2PActivityBase implements
NetDbListFragment.RouterContextProvider,
NetDbListFragment.OnEntrySelectedListener {
/**
* Whether or not the activity is in two-pane mode, i.e. running on a tablet

View File

@ -4,6 +4,7 @@ import java.util.List;
import net.i2p.android.router.R;
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.NetDbEntryLoader;
import net.i2p.data.Hash;
@ -42,11 +43,6 @@ public class NetDbListFragment extends ListFragment
private int mActivatedPosition = ListView.INVALID_POSITION;
private boolean mActivateOnItemClick = false;
// Container Activity must implement this interface
public interface RouterContextProvider {
public RouterContext getRouterContext();
}
// Container Activity must implement this interface
public interface OnEntrySelectedListener {
public void onEntrySelected(boolean isRouterInfo, Hash entryHash);