@Beta public abstract class DaggerBroadcastReceiver extends BroadcastReceiver
BroadcastReceiverthat injects its members in the first call to
Note: this class is not thread safe and should not be used with multiple
Handlers in calls to
android.content.IntentFilter, String, android.os.Handler). Injection is performed on each
onReceive(Context, Intent) which could result in inconsistent views of
injected dependencies across threads.
Subclasses should override
onReceive(Context, Intent) and call
super.onReceive(context, intent) immediately to ensure injection is performed immediately.
|Constructor and Description|
|Modifier and Type||Method and Description|
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
Copyright © 2012���2017 The Dagger Authors. All rights reserved.