Android Application Development (AND-401) — Question 34

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

Answer options

Correct answer: A

Explanation

The correct answer, loadData, is designed to load HTML content into a WebView. The other options, loadHTML, loadCustomData, and loadCustomHTML, are not valid methods in the WebView class, hence they cannot be used for loading custom HTML.