android TextView异步加载HTML含图片


tv.setText(Html.fromHtml(html1, new URLImageParser(tv), null));一行代码解决TextView 加载HTML图片问题
资源截图
代码片段和文件信息
/**
 * Automatically generated file. DO NOT MODIFY
 */
package com.zbx.myapplication.test;

public final class BuildConfig {
  public static final boolean DEBUG = Boolean.parseBoolean(“true“);
  public static final String APPLICATION_ID = “com.zbx.myapplication.test“;
  public static final String BUILD_TYPE = “debug“;
  public static final String FLAVOR = ““;
  public static final int VERSION_CODE = 1;
  public static final String VERSION_NAME = “1.0“;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        127  2018-04-27 09:49  MyApp.gitignore

     文件          1  2018-04-27 09:53  MyApp.gradle4.1fileChangeslast-build.bin

     文件         17  2018-04-27 09:53  MyApp.gradle4.1fileContentfileContent.lock

     文件     242869  2018-04-27 09:53  MyApp.gradle4.1fileHashesfileHashes.bin

     文件         17  2018-04-27 09:53  MyApp.gradle4.1fileHashesfileHashes.lock

     文件      19993  2018-04-27 09:51  MyApp.gradle4.1fileHashes
esourceHashesCache.bin

     文件     818071  2018-04-27 09:52  MyApp.gradle4.1javaCompileclassAnalysis.bin

     文件     347253  2018-04-27 09:51  MyApp.gradle4.1javaCompilejarAnalysis.bin

     文件         17  2018-04-27 09:53  MyApp.gradle4.1javaCompilejavaCompile.lock

     文件     100613  2018-04-27 09:53  MyApp.gradle4.1javaCompile askHistory.bin

     文件      21011  2018-04-27 09:53  MyApp.gradle4.1javaCompile askJars.bin

     文件    1196871  2018-04-27 09:53  MyApp.gradle4.1 askHistoryfileSnapshots.bin

     文件      61689  2018-04-27 09:53  MyApp.gradle4.1 askHistory askHistory.bin

     文件         17  2018-04-27 09:53  MyApp.gradle4.1 askHistory askHistory.lock

     文件          0  2018-04-27 09:49  MyApp.gradleuildOutputCleanupuilt.bin

     文件         51  2018-04-27 09:49  MyApp.gradleuildOutputCleanupcache.properties

     文件          2  2018-04-27 09:53  MyApp.gradleuildOutputCleanupcache.properties.lock

     文件        626  2018-04-27 09:49  MyApp.ideagradle.xml

     文件        533  2018-04-27 09:49  MyApp.idealibrariesandroid_arch_core_common_1_0_0_jar.xml

     文件        548  2018-04-27 09:49  MyApp.idealibrariesandroid_arch_lifecycle_common_1_0_0_jar.xml

     文件        658  2018-04-27 09:49  MyApp.idealibrariesandroid_arch_lifecycle_runtime_1_0_0.xml

     文件        742  2018-04-27 09:49  MyApp.idealibrariescom_android_support_animated_vector_drawable_26_1_0.xml

     文件        682  2018-04-27 09:49  MyApp.idealibrariescom_android_support_appcompat_v7_26_1_0.xml

     文件        501  2018-04-27 09:49  MyApp.idealibrariescom_android_support_constraint_constraint_layout_1_1_0.xml

     文件        425  2018-04-27 09:49  MyApp.idealibrariescom_android_support_constraint_constraint_layout_solver_1_1_0_jar.xml

     文件        608  2018-04-27 09:49  MyApp.idealibrariescom_android_support_support_annotations_26_1_0_jar.xml

     文件        692  2018-04-27 09:49  MyApp.idealibrariescom_android_support_support_compat_26_1_0.xml

     文件        697  2018-04-27 09:49  MyApp.idealibrariescom_android_support_support_core_ui_26_1_0.xml

     文件        712  2018-04-27 09:49  MyApp.idealibrariescom_android_support_support_core_utils_26_1_0.xml

     文件        702  2018-04-27 09:49  MyApp.idealibrariescom_android_support_support_fragment_26_1_0.xml

............此处省略2156个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)