package Ġcom . jame skb ride . code m ash comp anion . code of conduct Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . webkit . WebView Ċ import Ġandroid . webkit . WebView Client Ċ import Ġcom . jame skb ride . code m ash comp anion . R Ċ import Ġcom . jame skb ride . code m ash comp anion . framework . Base Activity Ċ import Ġcom . jame skb ride . code m ash comp anion . framework . Base Activity Impl Ċ import Ġcom . jame skb ride . code m ash comp anion . framework . Default Toolbar Ċ Ċ class ĠCode Of Con duct Activity Impl ( default Toolbar : ĠDefault Toolbar Ġ= ĠDefault Toolbar ()) Ġ: ĠBase Activity Impl ( default Toolbar ) Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?, Ġq tn : ĠBase Activity ) Ġ{ ĊĠĠĠĠĠĠĠ Ġq tn . set ContentView ( R . layout . activity _ code _ of _ conduct ) ĊĠĠĠĠĠĠĠ Ġdefault Toolbar . configure ActionBar ( q tn ) ĊĠĠĠĠĠĠĠ Ġdefault Toolbar . setTitle ( q tn , ĠR . string . code _ of _ conduct ) ĊĊĠĠĠĠĠĠĠ Ġval ĠwebView Ġ= Ġq tn . findViewById < WebView >( R . id . code _ of _ conduct _ webview ) ĊĠĠĠĠĠĠĠ Ġval Ġweb Settings Ġ= ĠwebView . settings ĊĠĠĠĠĠĠĠ Ġweb Settings . built In Zoom Controls Ġ= Ġtrue ĊĠĠĠĠĠĠĠ ĠwebView . web View Client Ġ= ĠCode Of Con duct WebView Client () ĊĠĠĠĠĠĠĠ ĠwebView . load Url ( q tn . resources . getString ( R . string . code _ of _ conduct _ url )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Resume ( session Detail Activity : ĠBase Activity ) Ġ{ ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Pause ( session Detail Activity : ĠBase Activity ) Ġ{ ĊĠĠĠ Ġ} Ċ } Ċ Ċ class ĠCode Of Con duct WebView Client : ĠWebView Client () Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġshould Override Url Loading ( view : ĠWebView ?, Ġurl : ĠString ?): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġfalse ĊĠĠĠ Ġ} Ċ }