alexvasilkov / GestureViews

ImageView and FrameLayout with gestures control and position animation
Apache License 2.0
2.37k stars 384 forks source link

The child view of GestureFrameLayout, which draws a large number of figures, will result in a jam #158

Closed ZhuSky closed 4 years ago

ZhuSky commented 4 years ago

When the sub view of gestureframelayout draws a large number of round (similar to chessboard) views, the scaling is very difficult.

alexvasilkov commented 4 years ago

As I understand the problem is not really in GestureFrameLayout, drawing large number of views is very inefficient in Android, and it will be slow even if you'll place them into regular ScrollView.

If you ned to draw a large amount of stuff then consider doing it with a custom view directly into canvas.

I'll close this ticket, but please reopen it if you can provide evidences that the issue actually comes from GestureFrameLayout usage.

ZhuSky commented 4 years ago

@alexvasilkov I see thank you