本文整理汇总了Java中com.actionbarsherlock.app.SherlockFragmentActivity.getResources方法的典型用法代码示例。如果您正苦于以下问题:Java SherlockFragmentActivity.getResources方法的具体用法?Java SherlockFragmentActivity.getResources怎么用?Java SherlockFragmentActivity.getResources使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.actionbarsherlock.app.SherlockFragmentActivity
的用法示例。
在下文中一共展示了SherlockFragmentActivity.getResources方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: RepositoryPagerAdapter
import com.actionbarsherlock.app.SherlockFragmentActivity; //导入方法依赖的package包/类
/**
* Create repository pager adapter
*
* @param activity
* @param hasIssues
*/
public RepositoryPagerAdapter(SherlockFragmentActivity activity,
boolean hasIssues) {
super(activity);
resources = activity.getResources();
this.hasIssues = hasIssues;
}
示例2: HomePagerAdapter
import com.actionbarsherlock.app.SherlockFragmentActivity; //导入方法依赖的package包/类
/**
* @param activity
* @param defaultUser
*/
public HomePagerAdapter(final SherlockFragmentActivity activity,
final boolean defaultUser) {
super(activity);
fragmentManager = activity.getSupportFragmentManager();
resources = activity.getResources();
this.defaultUser = defaultUser;
}
示例3: SearchPagerAdapter
import com.actionbarsherlock.app.SherlockFragmentActivity; //导入方法依赖的package包/类
/**
* Create search pager adapter
*
* @param activity
*/
public SearchPagerAdapter(SherlockFragmentActivity activity) {
super(activity);
resources = activity.getResources();
}
示例4: UserPagerAdapter
import com.actionbarsherlock.app.SherlockFragmentActivity; //导入方法依赖的package包/类
/**
* @param activity
*/
public UserPagerAdapter(final SherlockFragmentActivity activity) {
super(activity);
resources = activity.getResources();
}
示例5: GistQueriesPagerAdapter
import com.actionbarsherlock.app.SherlockFragmentActivity; //导入方法依赖的package包/类
/**
* Create pager adapter
*
* @param activity
*/
public GistQueriesPagerAdapter(SherlockFragmentActivity activity) {
super(activity);
resources = activity.getResources();
}
示例6: IssueDashboardPagerAdapter
import com.actionbarsherlock.app.SherlockFragmentActivity; //导入方法依赖的package包/类
/**
* Create pager adapter
*
* @param activity
*/
public IssueDashboardPagerAdapter(final SherlockFragmentActivity activity) {
super(activity);
resources = activity.getResources();
}