Glide compares the previous load with the current load, and if they are identical, does basically nothing. Thats what we want, because otherwise it flickers when the requested image is not in the memory cache. The problem is, we decode the blurhash we use as placeholder everytime. And the BitmapDrawables we get don't have a proper equals implementation. So Glide is like: Aha, different placeholder, better load again -> Flicker I added a BlurhashDrawable with custom equals/hashCode and now the flickering is gone. |
||
|---|---|---|
| .. | ||
| schemas/com.keylesspalace.tusky.db.AppDatabase | ||
| src | ||
| build.gradle | ||
| getGitSha.gradle | ||
| lint-baseline.xml | ||
| lint.xml | ||
| proguard-rules.pro | ||