binIoter / GuideView

东半球最好用的新手引导库,能够快速为任何一个View创建一个遮罩层,支持单个页面,多个引导串联展示,支持为高亮区域设置不同的图形,支持引导动画,方便扩展,良好支持fragment
3.96k stars 651 forks source link

减少使用内存 #38

Closed Missyouag closed 6 years ago

Missyouag commented 6 years ago

https://github.com/binIoter/GuideView/blob/f606f748f3660033f61ea7e74199fe92b08670a7/guideview/src/main/java/com/blog/www/guideview/MaskView.java#L61

mEraserBitmap = Bitmap.createBitmap(size.x, size.y, Bitmap.Config.ALPHA_8);

canvas.drawBitmap(mEraserBitmap, 0, 0, mFullingPaint);

binIoter commented 6 years ago

是的,谢谢您的宝贵建议

张斌

邮箱:bin_iot@163.com |

签名由 网易邮箱大师 定制

在2017年12月12日 11:22,爱玩 写道:

https://github.com/binIoter/GuideView/blob/f606f748f3660033f61ea7e74199fe92b08670a7/guideview/src/main/java/com/blog/www/guideview/MaskView.java#L61

mEraserBitmap = Bitmap.createBitmap(size.x, size.y, Bitmap.Config.ALPHA_8);

canvas.drawBitmap(mEraserBitmap, 0, 0, mFullingPaint);

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.