@ -96,6 +107,8 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -96,6 +107,8 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -103,6 +116,9 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -103,6 +116,9 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -197,11 +213,12 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -197,11 +213,12 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -211,12 +228,25 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -211,12 +228,25 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@Override
publicvoidonDestroyView(){
super.onDestroyView();
if(mBookmarksSubscription!=null){
mBookmarksSubscription.unsubscribe();
mBookmarksSubscription=null;
}
if(mUnbinder!=null){
mUnbinder.unbind();
mUnbinder=null;
}
}
@Override
publicvoidonDestroy(){
super.onDestroy();
if(mBookmarksSubscription!=null){
mBookmarksSubscription.unsubscribe();
mBookmarksSubscription=null;
}
}
@Override
publicvoidonStart(){
super.onStart();
@ -382,7 +412,7 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -382,7 +412,7 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,