use of com.klinker.android.twitter.activities.main_fragments.home_fragments.extentions.FavUsersFragment in project Talon-for-Twitter by klinker24.
the class TimelinePagerAdapter method getFrag.
public Fragment getFrag(int type, long listId) {
switch(type) {
case AppSettings.PAGE_TYPE_LIST:
Fragment f = new ListFragment();
Bundle b = new Bundle();
b.putLong("list_id", listId);
f.setArguments(b);
return f;
case AppSettings.PAGE_TYPE_LINKS:
return new LinksFragment();
case AppSettings.PAGE_TYPE_PICS:
return new PicFragment();
case AppSettings.PAGE_TYPE_FAV_USERS:
return new FavUsersFragment();
}
return null;
}
Also used :
PicFragment(com.klinker.android.twitter.activities.main_fragments.home_fragments.extentions.PicFragment)
FavUsersFragment(com.klinker.android.twitter.activities.main_fragments.home_fragments.extentions.FavUsersFragment)
Bundle(android.os.Bundle)
Fragment(android.app.Fragment)
PicFragment(com.klinker.android.twitter.activities.main_fragments.home_fragments.extentions.PicFragment)
WorldTrendsFragment(com.klinker.android.twitter.activities.main_fragments.other_fragments.trends.WorldTrendsFragment)
FavUsersFragment(com.klinker.android.twitter.activities.main_fragments.home_fragments.extentions.FavUsersFragment)
LinksFragment(com.klinker.android.twitter.activities.main_fragments.home_fragments.extentions.LinksFragment)
LocalTrendsFragment(com.klinker.android.twitter.activities.main_fragments.other_fragments.trends.LocalTrendsFragment)
HomeFragment(com.klinker.android.twitter.activities.main_fragments.home_fragments.HomeFragment)
LinksFragment(com.klinker.android.twitter.activities.main_fragments.home_fragments.extentions.LinksFragment)