-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Markdown渲染策略调整 #26
Comments
一种可选方案:使用原生TextView通过SpannableString实现富文本渲染,存在以下问题: 1.网络图片加载存在问题,试了几种方法都无法解决该问题 |
一种可选方案:仍然使用webview,但是把ListView替换为scrollview 这样相当于初始化的时候,一次性实例化所以内容,全部放到页面中,并且不适用重用 |
一种可选方案:原来的ListView页面,改为使用两个webview来实现渲染,分别是header和replylist 该方案可以有效解决由于item回收造成的webview的诸多问题 |
一种可选方案:话题详情页面item不支持富文本 这样没有了webview也就没有了诸多问题,但是会造成功能缺失。 |
一种可选方案:自己扩展view从底层重新实现渲染,或者通过源码自己引入webview替代系统内置 简直作死!!! |
提一个想法。就是类似知乎。分两部分。对于评论,可以显示一个纯文字的概要,然后点击进去查看详细。对于文章主体,我建议将md的格式进行分析,分析出里面的图片,标题,加粗什么的。然后分别用原生方式实现。很喜欢md设计里面标题悬浮的感觉 TakWolf notifications@github.com于2016年5月1日周日 16:36写道:
|
finish by 05664b8 |
该问题已经通过 #34 解决 |
问题来源:
#7
#8
#25
#31
The text was updated successfully, but these errors were encountered: