Skip to content

Document OnWebViewRecreatedListener and onWebViewRecreated #8

@david-allison

Description

@david-allison

Document OnWebViewRecreatedListener/onWebViewRecreated

fun interface OnWebViewRecreatedListener {
fun onWebViewRecreated(webView: WebView)
}

  • When it is called
  • How it should be implemented, and why
  • How to test it
  • Whether it can be tested automatically
  • Whether @CallSuper is needed in CardViewerFragment::onWebViewRecreated

Here are some high level Android docs to get you started. A deeper dive into understanding onRenderProcessGone is necessary

https://developer.android.com/reference/android/webkit/WebViewClient#onRenderProcessGone(android.webkit.WebView,%20android.webkit.RenderProcessGoneDetail)

Labels
https://github.com/swe-productivity/Anki-Android/labels/Docs
Research

Type: Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions