Skip to content

Document OnWebViewRecreatedListener and onWebViewRecreated #8

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions