AND-401 Exam QuestionsBrowse all questions from this exam

AND-401 Exam - Question 34


Which of the following WebView methods allows you to manually load custom HTML markup?

Show Answer
Correct Answer: A

The method that allows you to manually load custom HTML markup in a WebView is `loadData`. This method takes a string containing the HTML markup, a MIME type such as 'text/html', and an encoding type. An example usage is: `String summary = "<html><body>You scored <b>192</b> points.</body></html>"; webview.loadData(summary, "text/html", null);`.

Discussion

1 comment
Sign in to comment
MmadiOption: A
Dec 31, 2022

A. loadData