Open d4rken opened 8 years ago
Can you please share:
COFFEE_ANIM_ASSET
(is it in src/main/assets
?)setState(WORKING)
I assume, and "Subsequent second load" is setState(WORKING)
again. Was there any other setState(*)
called between?the GIF file
COFFEE_ANIM_ASSET (is it in src/main/assets?)
Yes.
First load from coldstart" is setState(WORKING) I assume, and "Subsequent second load" is setState(WORKING) again. Was there any other setState(_) called between? (Trying to minimize the *_repro)**
// Coldstart
04-10 19:40:05.131 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: setState(fragment=OverviewFragment{419fa440 #1 id=0x7f0d007a eu.thedarken.sdm.overview.OverviewFragment}, state=INTRO
04-10 19:40:10.611 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: setState(fragment=OverviewFragment{419fa440 #1 id=0x7f0d007a eu.thedarken.sdm.overview.OverviewFragment}, state=WORKING
04-10 19:40:10.731 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@41ff3258.getRequest()
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:10.731 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@41ff3258.setRequest(com.bumptech.glide.request.SingleRequest@41ff52a0)
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:10.796 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@41ff3258.getSize(com.bumptech.glide.request.SingleRequest@41ff52a0)
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:10.796 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@41ff3258.onSizeReady(com.bumptech.glide.request.SingleRequest@41ff52a0, 300, 300)
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:10.906 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@41ff3258.onLoadStarted(android.graphics.drawable.BitmapDrawable@42011780)
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:10.906 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@41ff3258.onStart()
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:11.306 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@41ff3258.onResourceReady(com.bumptech.glide.load.resource.gif.GifDrawable@41f7cef0, com.bumptech.glide.request.transition.NoTransition@41fef8c8)
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:17.391 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: setState(fragment=OverviewFragment{419fa440 #1 id=0x7f0d007a eu.thedarken.sdm.overview.OverviewFragment}, state=GONE
// Hotstart
04-10 19:40:38.146 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: setState(fragment=OverviewFragment{419fa440 #1 id=0x7f0d007a eu.thedarken.sdm.overview.OverviewFragment}, state=WORKING
04-10 19:40:38.151 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@425f4f10.getRequest()
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:38.151 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@425f4f10.getRequest()
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:38.156 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@41ff3258.onLoadCleared(android.graphics.drawable.BitmapDrawable@42011780)
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:38.156 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@425f4f10.setRequest(null)
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:38.156 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@425f4f10.setRequest(com.bumptech.glide.request.SingleRequest@41ff52a0)
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:38.156 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@425f4f10.getSize(com.bumptech.glide.request.SingleRequest@41ff52a0)
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:38.156 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@425f4f10.onSizeReady(com.bumptech.glide.request.SingleRequest@41ff52a0, 300, 300)
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:38.161 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: DrawableImageViewTarget@425f4f10.onResourceReady(com.bumptech.glide.load.resource.gif.GifDrawable@425f8920, com.bumptech.glide.request.transition.NoTransition@41fef8c8)
Target for: android.support.v7.widget.AppCompatImageView@41a786f0
04-10 19:40:39.756 9653-9653/eu.thedarken.sdm D/SDM:GlideGif: setState(fragment=OverviewFragment{419fa440 #1 id=0x7f0d007a eu.thedarken.sdm.overview.OverviewFragment}, state=GONE
GIF artifacts on < Android 4.3
Glide Version: 4.0.0-SNAPSHOT
On first load all looks okay, on second load the gif looks like this on a I9100@4.1.2:
Logfile using @TWiStErRob nice logging wrapper :)
Code: