Code example for ListFragment

Methods: onSaveInstanceState

0
    @Override 
    public void onSaveInstanceState(Bundle outState) {
        if (outState.isEmpty()) {
            outState.putBoolean("bug_19917_fix", true);
        } 
        super.onSaveInstanceState(outState);
    } 
     
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE