ShowcaseView
ShowcaseView copied to clipboard
OutOfMemoryError on Samsung devices
Seems to only be limited to Samsung devices, will investigate further.
See https://github.com/amlcurran/ShowcaseView/issues/183#issuecomment-195024930
I had the problem in the galaxy s4, galaxy s5 and galaxy s6 devices.
But the problem went away when i inserted one line of code as described here.
See #379
Cool, I'll take a look at that fix and see if there are any issues, and report back
On Wed, 6 Apr 2016 at 22:25 Thiago Evangelista [email protected] wrote:
I had the problem in the galaxy s4, galaxy s5 and galaxy s6 devices.
But the problem went away when i inserted one line of code as described here.
See #379 https://github.com/amlcurran/ShowcaseView/issues/379
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/amlcurran/ShowcaseView/issues/388#issuecomment-206577166
Sounds good. Thank you very much.
wihout removing create new showcaseview causing memory leak (Samsung Galaxy Note 2) i fixed it removed showcase view from parent (it's temprorary fix)
if (showcase != null)
((ViewGroup)showcase.getParent()).removeView(showcase);
showcase = new ShowcaseView.Builder(getActivity())
.setTarget(new ViewTarget(view))
.setContentTitle("ShowcaseView")
.setContentText("This is highlighting the Home button")
.hideOnTouchOutside()
.build();