Code example for WebView

Methods: destroy

0
    } 
 
    @Override 
    public void onDestroy() { 
        super.onDestroy(); 
        mControlWebView.destroy();
        mControlWebView = null;
    } 
 
    void updateMinFontSummary(Preference pref, int minFontSize) {
        Context c = getActivity();
        pref.setSummary(c.getString(R.string.pref_min_font_size_value, minFontSize));
    } 
 
    void updateTextZoomSummary(Preference pref, int textZoom) {
        pref.setSummary(mFormat.format(textZoom / 100.0));
    } 
 
    void updateDoubleTapZoomSummary(Preference pref, int doubleTapZoom) {
        pref.setSummary(mFormat.format(doubleTapZoom / 100.0));
    }