Closed romainpiel closed 6 years ago
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!
whoops wrong thread :/
Thanks, these were good comments. I don't want to merge this PR yet, as:
Apologies for the late reply.
Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.
Hi, I basically did this PR to give you some feedback on this library. This approach is generally looking very good, it's pretty nice to affect this behaviour to any kind of view. Now a few comments:
Log.d
statement behind the flagBuildConfig.DEBUG
as it's not advised to log anything on releaseremoveGlobalOnLayoutListener
byremoveOnGlobalLayoutListener
as the min target is 16 (by the way, any reason for that?)createBitmapAndGcIfNecessary()
. It looks a bit brutal to force a garbage collection for an animation. I understand the use of an explicit garbage collection on pre-honeycomb because bitmaps were not stored on the VM and they were not triggering garbage collection. But you should be safe without the try catch.Anyway, good job. Keep up the good work!