Skip to content

Splat 0.3.2

Compare
Choose a tag to compare
@anaisbetts anaisbetts released this 15 Oct 01:32

What's New

Android Resource Names Fix

On iOS, you have to pass the extension to Splat in order to load an image via resource:

var img = BitmapLoader.Current.LoadFromResource("DefaultAvatar.png");

However, on Android, the generated Resource class doesn't include the extensions (rightfully so!), so the same code dies with a "Resource not found", even if you named it the same. With this PR, you can now name resources the same way and we'll guess to try to remove the extension

Other Fixes

  • Handle loading images from resources in WinRT via fallback if needed (#22, thanks @rzhw!)
  • Make loading images thread-safe on WinRT