WebView vs a Custom UI

A UI built natively (without WebView) gives you full control over how your app looks and behaves. Also, it often feels more responsive and consistent to users. But there are a number of advantages to displaying web content instead of rolling out your own custom UI.

Displaying Flickr’s site in a WebView lets you integrate a large feature much more quickly. You do not need to worry about fetching image descriptions, user account names, or other photo metadata to build out this UI. You can simply leverage what Flickr has already made available.

Another advantage to displaying web content is that the web content can change without you having to update your application. For example, if you need to display a privacy ...

Get Android Programming: The Big Nerd Ranch Guide, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.