Open riyanpratamap opened 8 years ago
Hello @riyanpratama, it is not possible with Auk at the moment, unfortunately. But this is a very good idea for a feature. The Moa, the image downloader used in Auk, already provides a way to manipulate images before they are shown. We can add the same functionality to Auk.
This is a proposed API:
scrollView.auk.show(url: "https://bit.ly/moa_image",
onSucessAsync: { image in
// Called asynchronously when image arrives
// Manipulate the image and return the result
return image
}
)
Thank you for your quick response.
Yaa, it will be a great feature for Auk. Good luck, @evgenyneu !
Thanks for awesome idea, I will keep this open, as an enhancement proposal.
Great! I'll keep watching!
@evgenyneu did you add this to the library ?
Hi @mkaya93, no I have not implemented this feature yet, unfortunately.
Hi,
I have a quick question here. Can I resize image from remote image before it showed? I think it will reduce memory usage on the apps. If there is any way to do it, let me know.
Thank you so much!