Giter VIP home page Giter VIP logo

Comments (3)

chinalwb avatar chinalwb commented on August 15, 2024

我看下这个闪退。

草稿功能本来是在计划内的,但个人情况有变所以只能无限期的推迟了。

from android-rich-text-editor.

chinalwb avatar chinalwb commented on August 15, 2024

这个闪退是Android 8中的一个bug造成的: https://issuetracker.google.com/issues/67102093

我开发过程中遇到了,看这个方法:
com.chinalwb.are.styles.ARE_Image#insertImage
其中我注释了一句代码:
// this.mEditText.useSoftwareLayerOnAndroid8();
这个就是解决这个bug的。
但是加上这句代码又会引起其他的问题,比如加了很多图片之后就无法正确显示了。
在Android 8上目前没找到合适的方法。
你可以在Android 9上试一下。

谢谢提出问题。

from android-rich-text-editor.

weishubaoforwork avatar weishubaoforwork commented on August 15, 2024

谢谢大神解决问题,因为项目忙,没有得到来得及时回复你,根据你的建议我恢复了该行代码后,增加了数量的逻辑判断,等到有合适的解决方案再进行修改,至于A 9,手上没有合适的测试手机,所以先暂时没办法测试

from android-rich-text-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.