Code example for Fragment

Methods: getActivityonDestroyView

0
        onFeedUpdated(); 
    } 
 
    @Override 
    public void onDestroyView() { 
        super.onDestroyView(); 
        getActivity().getContentResolver().unregisterContentObserver(mFeedObserver);
    } 
 
    public abstract void onFeedUpdated();  
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE