Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OOM了 #56

Open
DarkLove opened this issue Jan 19, 2017 · 4 comments
Open

OOM了 #56

DarkLove opened this issue Jan 19, 2017 · 4 comments

Comments

@DarkLove
Copy link

偶尔出现OOM,怎么解,在fragment中使用的

@DarkLove
Copy link
Author

mHightLight = new HighLight(getActivity()) .anchor(view.findViewById(R.id.id_container))//如果是Activity上增加引导层,不需要设置anchor .addHighLight(R.id.fsp_store,R.layout.view_tipview01, new HighLight.OnPosCallback(){ @Override public void getPos(float rightMargin, float bottomMargin, RectF rectF, HighLight.MarginInfo marginInfo) { marginInfo.leftMargin = 0; marginInfo.topMargin = 0; } },new CircleLightShape()) .addHighLight(R.id.fsp_location,R.layout.view_tipview03,new OnLeftPosCallback(-UI.screenWidth(getActivity())/2.0f-30),new CircleLightShape()) .addHighLight(R.id.fsp_general_comparison,R.layout.view_tipview04,new OnRightPosCallback(20),new CircleLightShape()) .autoRemove(false) .enableNext() .setClickCallback(new HighLight.OnClickCallback() { @Override public void onClick() { try { mHightLight.next(); }catch (Exception e){ Log.e("LAMI","Exception HightLigeht : "+e.toString()); } } });

@sweet2o09
Copy link

我也遇到了,请问这个问题如何解决?概率性的

@A-Heavy-Rain
Copy link

https://github.com/A-Heavy-Rain/GuideView 试试这个不会显示创建新的bitmap。

@sweet2o09
Copy link

@A-Heavy-Rain 其实你可以直接修改鸿洋大神的这个库,鸿洋大神貌似已经不维护这个库了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants