Exemplo n.º 1
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_detail);
   initArguments();
   initToolBar();
   showOrHideToolBarNavigation(true);
   initView();
   setStatusBarCompat();
   loadData();
 }
Exemplo n.º 2
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (mWebView != null) {
     mWebView.stopLoading();
     mWebView.setWebChromeClient(null);
     mWebView.setWebViewClient(null);
     mWebView.destroy();
     mWebView = null;
   }
 }