Skip to content
Daniel Luberda edited this page Dec 18, 2015 · 3 revisions

FFImageLoading uses a Fluent syntax to chain calls.

Any request goes through ImageService.LoadFromXxx methods. These return a TaskParameter which offers the Fluent API. The TaskParameter can be configured until Into method is called.

Example:

ImageService.LoadUrl("http://www.funchap.com/wp-content/uploads/2014/05/help-dog-picture.jpg")
.LoadingPlaceholder("loading.png")
.ErrorPlaceholder("error.png")
.Retry(3, 200)
.Into(_imageView);

ImageView on iOS is UIImageView, on Android: ImageViewAsync (ImageView derivative) and on Windows: Image

For more information about the API visit the relevant pages.