/** {@inheritDoc} */ @Override public void onAttach(Activity activity) { super.onAttach(activity); this.model = (ActionBarToggleModel) activity; }