ShowcaseView icon indicating copy to clipboard operation
ShowcaseView copied to clipboard

OutOfMemoryError on Samsung devices

Open amlcurran opened this issue 8 years ago • 4 comments

Seems to only be limited to Samsung devices, will investigate further.

See https://github.com/amlcurran/ShowcaseView/issues/183#issuecomment-195024930

amlcurran avatar Apr 06 '16 21:04 amlcurran

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

thilook avatar Apr 06 '16 21:04 thilook

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

amlcurran avatar Apr 06 '16 21:04 amlcurran

Sounds good. Thank you very much.

thilook avatar Apr 06 '16 21:04 thilook

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();

HeroPD avatar Apr 14 '16 07:04 HeroPD