List of usage examples for android.support.v4.app Fragment getActivity
public Activity getActivity()
From source file:com.odoo.support.AppScope.java
public AppScope(Fragment fragment) { mContext = (Context) fragment.getActivity(); mUser = OUser.current(mContext); }
From source file:com.openerp.support.AppScope.java
public AppScope(Fragment fragment) { mContext = (Context) fragment.getActivity(); mUser = OEUser.current(mContext); }
From source file:com.amlm.honeygogroceryshopping.zxing.IntentIntegratorSupportV4.java
/** * @param fragment Fragment to handle activity response. *///from ww w . ja v a2s. c o m public IntentIntegratorSupportV4(Fragment fragment) { super(fragment.getActivity()); this.fragment = fragment; }
From source file:org.sufficientlysecure.keychain.integration.KeychainIntentHelperSupportV4.java
/** * @param fragment//w w w . j av a 2 s .c om * Fragment to handle activity response. */ public KeychainIntentHelperSupportV4(Fragment fragment) { super(fragment.getActivity()); this.fragment = fragment; }
From source file:com.google.zxing.integration.android.IntentIntegratorV30.java
/** * @param fragment Fragment to handle activity response. *//*from www. j a v a 2 s. c o m*/ public IntentIntegratorV30(Fragment fragment) { super(fragment.getActivity()); this.fragment = fragment; }
From source file:org.movshovich.msaver.BarcodeScanIntentHelperV30.java
/** * @param onClickListener Fragment to handle activity response. *//*ww w . j av a 2s . c o m*/ public BarcodeScanIntentHelperV30(Fragment fragment) { super(fragment.getActivity()); this.fragment = fragment; }
From source file:it.jaschke.alexandria.zxing.FragmentIntentIntegrator.java
public FragmentIntentIntegrator(Fragment fragment) { super(fragment.getActivity()); this.fragment = fragment; }
From source file:org.thialfihar.android.apg.util.IntentIntegratorSupportV4.java
/** * @param fragment/*from w ww . ja va 2s.com*/ * Fragment to handle activity response. */ public IntentIntegratorSupportV4(Fragment fragment) { super(fragment.getActivity()); mFragment = fragment; }
From source file:com.schedjoules.eventdiscovery.framework.locationpicker.LocationPickerPlaceSelection.java
@Override public void start(@NonNull Fragment fragment) { if (fragment.getActivity() != null) { Intent intent = new Intent(fragment.getActivity(), LocationPickerActivity.class); fragment.startActivityForResult(intent, 47314); }/*www . j a v a2s . co m*/ }
From source file:org.sufficientlysecure.keychain.util.IntentIntegratorSupportV4.java
/** * @param fragment Fragment to handle activity response. *///from w ww .j a v a2s . c o m public IntentIntegratorSupportV4(Fragment fragment) { super(fragment.getActivity()); this.mFragment = fragment; }