Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们可以直接从 FFImageLoading 获取位图吗?我知道我可以使用 CachedImage 视图,但我目前正在使用 NControl 和 NGraphics 使用触摸事件进行自定义绘图
ImageService.Instance.LoadUrl(urlToImage) .Into(nativeImageView);
或者
var drawable = await ImageService.Instance.LoadUrl(urlToImage) .AsBitmapDrawableAsync(); var image = ImageService.Instance.LoadUrl(urlToImage) .AsUIImageAsync();