以性能的名义,最好使用定义了自定义数组适配器的 webview 对象列表或再次使用自定义适配器和 html 内容显示在其中的 textview 对象列表。首先我尝试使用 webview 但我认为 webview 对象有点ui 元素重,textview 看起来更轻量。
WebView entryWebView = (WebView) findViewById(R.id.entryWebView);
entryWebView.loadData("my hmtl formatted data", "text/html", "utf-8");
//假设这些在自定义数组适配器中定义并填充了 webview 对象
TextView entryTextView = (TextView) v.findViewById(R.id.entry);
entryTextView.setText("my html formatted data");
//这又在自定义数组适配器中并填充了文本视图对象