@Test public void testGetItemPosition() { TransportModePanelAdapter adapter = new TransportModePanelAdapterInstance(getSupportFragmentManager(), null, null, mTransportModes); assertEquals(PagerAdapter.POSITION_NONE, adapter.getItemPosition(new Object())); }
@Override public int getItemPosition(final Object object) { return POSITION_NONE; }
TransportModePanelAdapter extends FragmentStatePagerAdapter { @Override public int getItemPosition(final Object object) { return POSITION_NONE; } }
TransportModePanelAdapter extends FragmentStatePagerAdapter { @Override public int getItemPosition(final Object object) { return POSITION_NONE; } TransportModePanelAdapter(final FragmentManager manager);  TransportModePanelAdapter(final FragmentManager manager, final List<RouteOptions.TransportMode> transportModes); }
TransportModePanelAdapter extends FragmentStatePagerAdapter { @Override public int getItemPosition(final Object object) { return POSITION_NONE; } TransportModePanelAdapter(final FragmentManager manager);  TransportModePanelAdapter(final FragmentManager manager, final List<RouteOptions.TransportMode> transportModes); @Override Fragment getItem(final int position); @Override int getCount(); @SuppressWarnings("PMD.EmptyMethodInAbstractClassShouldBeAbstract") @Override CharSequence getPageTitle(final int position); TabView getTabView(final int position); @Override int getItemPosition(final Object object); List<RouteOptions.TransportMode> getTransportModes(); void setTransportModes(final List<RouteOptions.TransportMode> transportModes); abstract Fragment getContent(RouteOptions.TransportMode mode); @Deprecated abstract TabView getTabCustomView(RouteOptions.TransportMode mode); abstract TabView getCustomTabView(RouteOptions.TransportMode mode); abstract boolean isContentVisible(); }
TransportModePanelAdapter extends FragmentStatePagerAdapter { @Override public int getItemPosition(final Object object) { return POSITION_NONE; } TransportModePanelAdapter(final FragmentManager manager);  TransportModePanelAdapter(final FragmentManager manager, final List<RouteOptions.TransportMode> transportModes); @Override Fragment getItem(final int position); @Override int getCount(); @SuppressWarnings("PMD.EmptyMethodInAbstractClassShouldBeAbstract") @Override CharSequence getPageTitle(final int position); TabView getTabView(final int position); @Override int getItemPosition(final Object object); List<RouteOptions.TransportMode> getTransportModes(); void setTransportModes(final List<RouteOptions.TransportMode> transportModes); abstract Fragment getContent(RouteOptions.TransportMode mode); @Deprecated abstract TabView getTabCustomView(RouteOptions.TransportMode mode); abstract TabView getCustomTabView(RouteOptions.TransportMode mode); abstract boolean isContentVisible();  }