@Override public void onViewCreated(View view, Bundle savedInstanceState) { // during super.onViewCreated()--Sanitizer is instantiated super.onViewCreated(view, savedInstanceState); confirmHostFragmentHasNecessaryCallbacks(); ButterKnife.inject(this, view); setupSpinner(); setOnClicks(); awesomeTextViewHandler = new AwesomeTextHandler(); awesomeTextViewHandler .addViewSpanRenderer(SCRIPTURE_PATTERN, new ScriptureSpanRenderer()) .setView(noteText); }
@Override public void onDestroyView() { ButterKnife.reset(this); mCallbacks = stubCallbacks; super.onDestroyView(); }