GithubHelp home page GithubHelp logo

Comments (7)

Yasic avatar Yasic commented on May 28, 2024

@hfc123
您好,关于卡顿问题,请问您使用的版本是多少?
目前有如下方案供您选择:

  • 使用 2017-05-11 更新的 0.0.5 版本中的 ParticleTextSurfaceView,继承自 SurfaceView,采用子线程绘制粒子动画,适合多 View 渲染
  • 将横向和纵向像素采样间隔设置大一些,同时增大粒子半径,从而减少需要绘制的粒子个数,能有效消减卡顿效果,具体信息见 “配置信息类 ParticleTextViewConfig”
    如有更多问题请提 Issue.

from particletextview.

hfc123 avatar hfc123 commented on May 28, 2024

我直接download你的项目运行的就是启动的时候就挺久的,我说的不是动画卡,activity启动的时候卡。

from particletextview.

hfc123 avatar hfc123 commented on May 28, 2024

@Yasic

from particletextview.

Yasic avatar Yasic commented on May 28, 2024

@hfc123
您好。Demo里有四个 Activity 包含绘制内容,分别是

请问具体是哪一个Activity启动卡,还是四个Activity都卡?

from particletextview.

hfc123 avatar hfc123 commented on May 28, 2024

4个都卡我的手机是魅族4pro的,activity启动很卡4个都停顿挺久再进去的那种

from particletextview.

hfc123 avatar hfc123 commented on May 28, 2024

@Yasic

from particletextview.

junfenggithub avatar junfenggithub commented on May 28, 2024

启动的时候太卡,差不多点击应用后3s才能启动

from particletextview.

Related Issues (12)

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.