@Override public final View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = onCreateView(savedInstanceState, inflater, container); Injector.inject(view, this); injected = true; return view; }
public AbstractPrefsManager(Context ctx, String prefsName, int version) { Injector.inject(ctx, this); this.ctx = ctx.getApplicationContext(); if (isEmpty(prefsName)) { prefs = PreferenceManager.getDefaultSharedPreferences(ctx); } else { prefs = ctx.getSharedPreferences(prefsName, MODE_PRIVATE); } init(version); }
@Override public void onCreate() { super.onCreate(); Injector.inject(this); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); onPreInject(); Injector.inject(this); }
public AsyncTask(Context ctx, AsyncTaskResultListener<Result> resultListener) { Injector.inject(ctx, this); this.ctx = ctx.getApplicationContext(); this.resultListener = resultListener; }