protected void initData() { Bundle bundle = new Bundle(); String url = getIntent().getStringExtra(EXTRA_URL); bundle.putString(WebFragment.EXTRA_URL, url); webView.setArguments(bundle); addNavigationOnBottom((ViewGroup) findViewById(R.id.fl_bottom_blank)); }
@Override public void onBackPressed() { if (webView.canGoBack()) webView.goBack(); else super.onBackPressed(); }