- In general you want to try and put things in
onStart
andonStop
for logical start and stops.
- Dagger inject self into graph
- setContentView(R.layout.xxx)
- Butterknife.bind(this)
- EventBus register // why not onResume + onPause you ask?
- EventBus unregister
- Dagger "Activity" scoped graph destruction
- view = Inflate.inflation
- ButterKnife.bind(this, view);
- EventBus register
- EventBus unregister
- ButterKnife.unbind(this);
- LeakCanary MyApp.getRefWatcher().watch(this);
- RxJava CompositeSubscription.add
- RxJava CompositeSubscription.unsubscribe
- LeakCanary Refwatcher = LeakCanary.install(this);
- Dagger ObjectGraph.create