示例#1
0
        private void callBackCarregador()
        {
            string html = "<html><body>";

            foreach (var titol in carregador.getTitle())
            {
                html += "<h2>" + titol + "</h2>";
            }
            html += "</body></html>";
            visualitzador.NavigateToString(html);
        }
示例#2
0
文件: Activity1.cs 项目: fercavi/util
        private void CallbackCarregarDades()
        {
            Android.Webkit.WebView wc = FindViewById <Android.Webkit.WebView>(Resource.Id.webView1);
            string html = "<html><body>";

            foreach (var titol in carregador.getTitle())
            {
                html += "<h2>" + titol + "</h2>";
            }
            html += "</body></html>";
            wc.LoadData(html, "text/html; charset=UTF-8", "ISO-8859-1");
        }