Sha256: 7adfbdb821a68f4988585d3e4c50f25f80c221391add7eaf5d619f54a34c0b25
Contents?: true
Size: 302 Bytes
Versions: 9
Compression:
Stored size: 302 Bytes
Contents
module UI class Web < UI::View def load_html(str) proxy.loadData(str, 'text/html', nil) end def proxy @proxy ||= begin web_view = Android::Webkit::WebView.new(UI.context) web_view.settings.javaScriptEnabled = true web_view end end end end
Version data entries
9 entries across 9 versions & 1 rubygems