Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Commit

Permalink
Fix #790
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Shatunov committed Feb 20, 2014
1 parent 81b213d commit e7aedff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions library/src/android/support/v4/app/_HoloFragment.java
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ public final void onAttach(android.app.Activity activity) {
onAttach((Activity) activity); onAttach((Activity) activity);
} }


@Override
public void onDetach() {
super.onDetach();
mActivity = null;
}

@Override @Override
public final View onCreateView(android.view.LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { public final View onCreateView(android.view.LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
return onCreateView(getLayoutInflater(), container, savedInstanceState); return onCreateView(getLayoutInflater(), container, savedInstanceState);
Expand Down

0 comments on commit e7aedff

Please sign in to comment.