Android ViewPager Fragment ImageView Glide Memory Leak -
i'm using viewpager
fragmentstatepageradapter
.
each fragment
has imageview
's.
glide
loading images:
glide.with(fragment)//current fragment .load(imageurl)//url string .dontanimate() .skipmemorycache(true) .into(imageview_n);
viewpager
's offscreenpagelimit
default (1);
ondestroy
calling each fragment
.
after sliding next , next fragment
memoryheap increasing, not releasing.
, outofmemory
.
i know, possible duplicate question, other post did not me.
Comments
Post a Comment