Coder Social home page Coder Social logo

Comments (7)

AnyLifeZLB avatar AnyLifeZLB commented on August 15, 2024

频繁切换滚动的文字吗?还是?我来看看能否复现修复问题

有些CUSTOM电视盒子可能软硬件设备 有问题,可以尝试在平板上对比一下

from scrolltextview.

lylelqc avatar lylelqc commented on August 15, 2024

随着界面显隐,频繁创建销毁会导致surfaceview重影,这个由什么解决方式吗?设置了setZorderOnTop(true)

from scrolltextview.

AnyLifeZLB avatar AnyLifeZLB commented on August 15, 2024

@lylelqc 什么设备会出现这个问题,手机也会吗?

from scrolltextview.

dacaoyuan avatar dacaoyuan commented on August 15, 2024

我的也是错误日志如下:
/SurfaceHolder: Exception locking surface
java.lang.IllegalArgumentException
at android.view.Surface.nativeLockCanvas(Native Method)
at android.view.Surface.lockCanvas(Surface.java:310)
at android.view.SurfaceView$4.internalLockCanvas(SurfaceView.java:990)
at android.view.SurfaceView$4.lockCanvas(SurfaceView.java:958)
at anylife.scrolltextview.ScrollTextView.draw(ScrollTextView.java:475)
at anylife.scrolltextview.ScrollTextView.access$600(ScrollTextView.java:38)
at anylife.scrolltextview.ScrollTextView$ScrollTextThread.run(ScrollTextView.java:532)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:278)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:273)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
2022-07-23 12:18:30.614 1305-12347/system_process W/WindowManager: Failed looking up window

from scrolltextview.

vince-styling avatar vince-styling commented on August 15, 2024

有点疑惑,为什么要用 SurfaceView,不觉得有点重量级吗,据我了解,SurfaceView 不支持别的 view 盖在它上面,哪怕是用 TextureView 也好啊

from scrolltextview.

AnyLifeZLB avatar AnyLifeZLB commented on August 15, 2024

今天使用低端机发现问题比较严重,这周会优化一版本

from scrolltextview.

AnyLifeZLB avatar AnyLifeZLB commented on August 15, 2024

发布2.4.0 !

from scrolltextview.

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.