Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MainActivity: AppCompatActivity() {
- override fun onCreate(savedInstanceState: Bundle?) {
- super.onCreate(savedInstanceState)
- setContentView(R.layout.main)
- find<Webn>(R.id.webview).loadUrl("url")
- // watch(this)
- }
- override fun onDestroy() {
- super.onDestroy()
- find<Webn>(R.id.webview).reset()
- }
- }
Add Comment
Please, Sign In to add comment