Comments (7)
@hfc123
您好,关于卡顿问题,请问您使用的版本是多少?
目前有如下方案供您选择:
- 使用 2017-05-11 更新的 0.0.5 版本中的 ParticleTextSurfaceView,继承自 SurfaceView,采用子线程绘制粒子动画,适合多 View 渲染
- 将横向和纵向像素采样间隔设置大一些,同时增大粒子半径,从而减少需要绘制的粒子个数,能有效消减卡顿效果,具体信息见 “配置信息类 ParticleTextViewConfig”
如有更多问题请提 Issue.
from particletextview.
我直接download你的项目运行的就是启动的时候就挺久的,我说的不是动画卡,activity启动的时候卡。
from particletextview.
from particletextview.
@hfc123
您好。Demo里有四个 Activity 包含绘制内容,分别是
- ViewDemo 展示四个 ParticleTextView
- SurfaceViewDemo 展示五个ParticleTextSurfaceView
- ViewOnClickDemo 展示ParticleTextView的点击事件
- SurfaceViewOnClickDemo 展示ParticleTextSurfaceView的点击事件
请问具体是哪一个Activity启动卡,还是四个Activity都卡?
from particletextview.
4个都卡我的手机是魅族4pro的,activity启动很卡4个都停顿挺久再进去的那种
from particletextview.
from particletextview.
启动的时候太卡,差不多点击应用后3s才能启动
from particletextview.
Related Issues (12)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from particletextview.