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