Code example for ListFragment

Methods: onDestroyView, getActivity

0
        onFeedUpdated(); 
    } 
 
    @Override 
    public void onDestroyView() { 
        super.onDestroyView(); 
        getActivity().getContentResolver().unregisterContentObserver(mFeedObserver);
    } 
 
    public abstract void onFeedUpdated();  
} 
Contextual code suggestions in your IDE  Get Codota for Java