本文整理匯總了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();
}