create Progress Event
fun createProgressEvent(surfaceId: Int, viewId: Int, imageUri: String?, loaded: Int, total: Int): ImageLoadEvent
Parameters
loaded
Amount of the image that has been loaded. It should be number of bytes, but Fresco does not currently provides that information.
total
Amount that loaded
will be when the image is fully loaded.
Deprecated
Use the createProgressEvent version that explicitly takes surfaceId as an argument
Replace with
createProgressEvent(surfaceId, viewId, imageUri, loaded, total)
Content copied to clipboard