if (fragment != null) {
container = (T) fragment;
} else {
container = (T) activity;
}
<BUG>onPostAttach(activity);</BUG>
}
<BUG>protected void onPostAttach(Activity activity) { }</BUG>
@Override
@CallSuper

if (fragment != null) {
container = (T) fragment;
} else {
container = (T) activity;
}
}
@Override
@CallSuper
