tvContent = findViewById(R.id.tv_hit_content); tvContent.setMovementMethod(LinkMovementMethod.getInstance()); RichText.fromHtml(MyApp.growDetail).into(tvContent);
Android 显示富文本
最新推荐文章于 2024-02-29 12:00:41 发布
tvContent = findViewById(R.id.tv_hit_content); tvContent.setMovementMethod(LinkMovementMethod.getInstance()); RichText.fromHtml(MyApp.growDetail).into(tvContent);