mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
* Fixes #3359 * Cache thumb url & imageUrl in local db * Use Fresco's ImageRequest to show images in ContributionViewHolder[this was the issue, we should have always used this to show the image] * Deleted DisplayableContribution (not needed anymore) * Exposed abstract function in ContributionDao to updateContribution * * Make position private in ContributionViewHolder * Remove MediaDataExtractor from ContributionsFragment * * Show placeholder image for Contributions while the image loads * setHasStableId's ContributionsAdapter * make Random variable private in ContributionViewHolder * replace local variable-if-with ternary operator in ContributionViewHolder * Fix indentation/formatting of ternary operator in ContributionViewHolder * I might revert this commit[I have reasons] * Create in-memory drawables in CVH's onBind, caches are bad, add mental overhead * Revert "I might revert this commit[I have reasons]" This reverts commit627ac91517. * minor formatting changes, reverted627ac91517* uh-oh missed semicolon, java * minor formatting changes
This commit is contained in:
parent
021105ac4d
commit
efdb00b5ee
12 changed files with 108 additions and 110 deletions
|
|
@ -45,6 +45,7 @@ public class Media implements Parcelable {
|
|||
};
|
||||
|
||||
// Primary metadata fields
|
||||
@Nullable
|
||||
public Uri localUri;
|
||||
public String thumbUrl;
|
||||
public String imageUrl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue