Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Image): Add prefetch to ImageLoader module #903

Merged
merged 5 commits into from
Nov 23, 2016

Conversation

rozele
Copy link
Collaborator

@rozele rozele commented Nov 23, 2016

Using UWP Community Toolkit ImageCache to implement prefetch capability for react-native Image component.

Fixes #366

@@ -2,6 +2,8 @@
"dependencies": {
"Facebook.CSSLayout": "2.0.1-pre",
"Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2",
"Microsoft.Toolkit.Uwp": "1.2.0",
"Microsoft.Toolkit.Uwp.UI.Controls": "1.2.0",
"Newtonsoft.Json": "9.0.1",
Copy link
Collaborator Author

@rozele rozele Nov 23, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed. #Closed

image.GetFailedObservable());
}


private static IObservable<ImageStatusEventData> GetOpenedObservable(this BitmapImage image)
Copy link
Collaborator Author

@rozele rozele Nov 23, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IObservable [](start = 23, length = 11)

Clean up any other unused code. #Closed

@rozele rozele merged commit 51d5d73 into microsoft:master Nov 23, 2016
@rozele rozele deleted the issue366 branch November 23, 2016 14:27
rozele added a commit that referenced this pull request Nov 23, 2016
Using UWP Community Toolkit ImageCache to implement prefetch capability for react-native Image component.

Fixes #366
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant