lint-results.xml 1.1 KB

1234567891011121314151617181920
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <issues format="4" by="lint 3.2.1">
  3. <issue
  4. id="DrawAllocation"
  5. severity="Warning"
  6. message="Avoid object allocations during draw/layout operations (preallocate and reuse instead)"
  7. category="Performance"
  8. priority="9"
  9. summary="Memory allocations within drawing code"
  10. explanation="You should avoid allocating objects during a drawing or layout operation. These are called frequently, so a smooth UI can be interrupted by garbage collection pauses caused by the object allocations.&#xA;&#xA;The way this is generally handled is to allocate the needed objects up front and to reuse them for each drawing operation.&#xA;&#xA;Some methods allocate memory on your behalf (such as `Bitmap.create`), and these should be handled in the same way."
  11. errorLine1=" calendar.time = Date()"
  12. errorLine2=" ~~~~~~">
  13. <location
  14. file="D:\workingSpace\saga-android\sybotan-android-graphy\src\main\java\com\sybotan\android\graphy\items\SGraphyClockItem.kt"
  15. line="106"
  16. column="25"/>
  17. </issue>
  18. </issues>