Closed eneim closed 7 years ago
Thank you for contribution! Interesting!
Thanks. Let me fix the license and conflict in few minutes :D
FYI @konifar I would like to ask @roana0229 (author of this View) to review this if possible. My change may conflict with the expected behaviour in some unexpected ways.
Looks good. Thanks 😃 @roana0229 Can you review this?
@konifar my latest commit cause a failed build on circleci, checking it, turns out :app:testDevelopDebugUnitTest
failed with one case. But running it on my machine passes all tests. Can you manually trigger a rebuild? If it keeps failing again I will try to figure out what happened.
Sorry, currently CI is not stable. I'll work on it tonight.
Thanks, just take your time :D
LGTM 👍
Thanks for improvement!
IMPORTANT:
I commented out some lines in SplashActivity to make the sample, please read it and un-comment for normal behaviour.Issue
ParticlesAnimationView
is beautifully implemented. But it comes with some trade off as follow:createLines(particles)
uses Stream which will allocate new Iterators each calls. Furthermore it unnecessarily generates new Lines.createLines(particles)
will draw each line twice, which is not so good.drawLines
to draw a single line is not so good too.Overview: what I did
isShouldLinked
is actuallyshouldBeLinked
I think :D.Discussion: so it worth the change?
Screenshot