<p dir="auto">"Glide" network load library how to configure the combination of "android-gif-drawable" library.<br>
"android-gif-drawable":<a href="https://github.com/koral--/android-gif-drawable">https://github.com/koral--/android-gif-drawable</a>.</p>
<p dir="auto">Now I use the "Glide" network to load the library, and then pass Gifdrawable the gifImageView, but the two fragment switch, at the same time, each fragment which has a list of loading gif picture, switch, the list of gif graphics display animation card pause.</p>
<p dir="auto">Gif animation in <strong>recyclerview</strong> stop playing after scrolling and if i scroll again two or three times animation automatically starts again. This problem doesn't occur always. I am using glide 3.7.0-SNAPSHOT. I am using glide in code like this:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Glide.with(context)
                .load(MyApp.INSTANCE.getUser().getUserAvatar())
                .fitCenter()
                .centerCrop()
                .thumbnail(0.1f)
                .diskCacheStrategy(DiskCacheStrategy.SOURCE)
                .placeholder(R.drawable.ic_profile_picture)
                .into(holder.imageView); "><pre class="notranslate"><span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-s1">context</span>)
                .<span class="pl-en">load</span>(<span class="pl-smi">MyApp</span>.<span class="pl-c1">INSTANCE</span>.<span class="pl-en">getUser</span>().<span class="pl-en">getUserAvatar</span>())
                .<span class="pl-en">fitCenter</span>()
                .<span class="pl-en">centerCrop</span>()
                .<span class="pl-en">thumbnail</span>(<span class="pl-c1">0.1f</span>)
                .<span class="pl-en">diskCacheStrategy</span>(<span class="pl-smi">DiskCacheStrategy</span>.<span class="pl-c1">SOURCE</span>)
                .<span class="pl-en">placeholder</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">ic_profile_picture</span>)
                .<span class="pl-en">into</span>(<span class="pl-s1">holder</span>.<span class="pl-s1">imageView</span>); </pre></div>
<p dir="auto">Am I doing something wrong ?</p>