You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear developers,
My analysis tool have found another issue. I found drawing object creation in storymaker's code. It could make UI appear sluggish.
As suggested by Android Developers,"Creating objects ahead of time is an important optimization. Views are redrawn very frequently, and many drawing objects require expensive initialization. Creating drawing objects within your onDraw() method significantly reduces performance and can make your UI appear sluggish."
We found the violations in this class:
Class name: info.guardianproject.mrapp.ui.BigImageLabelView
--Handler name: info.guardianproject.mrapp.ui.BigImageLabelView.onDraw(Landroid/graphics/Canvas;)V
--Avoid expensive drawing objects allocations during draw operations(preallocate and reuse instead):
----android.graphics.Rect.(IIII)V
The call hierarchy is as follows:
onDraw();
computeBounds();
Dear developers,
My analysis tool have found another issue. I found drawing object creation in storymaker's code. It could make UI appear sluggish.
As suggested by Android Developers,"Creating objects ahead of time is an important optimization. Views are redrawn very frequently, and many drawing objects require expensive initialization. Creating drawing objects within your onDraw() method significantly reduces performance and can make your UI appear sluggish."
We found the violations in this class:
Class name: info.guardianproject.mrapp.ui.BigImageLabelView
--Handler name: info.guardianproject.mrapp.ui.BigImageLabelView.onDraw(Landroid/graphics/Canvas;)V
--Avoid expensive drawing objects allocations during draw operations(preallocate and reuse instead):
----android.graphics.Rect.(IIII)V
The call hierarchy is as follows:
onDraw();
computeBounds();
you may find more useful information in this references:
http://developer.android.com/training/custom-views/custom-drawing.html
The text was updated successfully, but these errors were encountered: