com.github.jobs.adapter
Class SearchJobFragmentAdapter
java.lang.Object
android.support.v4.view.PagerAdapter
com.github.jobs.adapter.FragmentStatePagerAdapter
com.github.jobs.adapter.SearchJobFragmentAdapter
public class SearchJobFragmentAdapter
- extends FragmentStatePagerAdapter
| Fields inherited from class android.support.v4.view.PagerAdapter |
POSITION_NONE, POSITION_UNCHANGED |
|
Constructor Summary |
SearchJobFragmentAdapter(android.content.Context context,
android.support.v4.app.FragmentManager fm)
|
| Methods inherited from class android.support.v4.view.PagerAdapter |
destroyItem, finishUpdate, getItemPosition, instantiateItem, notifyDataSetChanged, setPrimaryItem, startUpdate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchJobFragmentAdapter
public SearchJobFragmentAdapter(android.content.Context context,
android.support.v4.app.FragmentManager fm)
getItem
public android.support.v4.app.Fragment getItem(int position)
- Description copied from class:
FragmentStatePagerAdapter
- Return the Fragment associated with a specified position.
- Specified by:
getItem in class FragmentStatePagerAdapter
getCount
public int getCount()
- Specified by:
getCount in class android.support.v4.view.PagerAdapter
getPageTitle
public CharSequence getPageTitle(int position)
- Overrides:
getPageTitle in class android.support.v4.view.PagerAdapter
positionFor
public int positionFor(SearchPack searchPack)
addSearch
public void addSearch(SearchPack searchPack)
removeItem
public void removeItem(SearchPack searchPack)
containsSearch
public boolean containsSearch(SearchPack searchPack)
Copyright © 2012. All Rights Reserved.