How To Show And Bind Base64 String To Image As A Source In Nativescript?
I am trying to show and bind base64 image as ImageSource in my View, but it does not show up at all. I couldn't find any helpful information on this in documentation .. am I doing
Solution 1:
Quickly skimming the code it doesn't look like you are setting the _imageSource
for it to update. You call the method on the ImageSource
instance but nothing to set the UI binding. I would try having a setter for the _imageSource
or setting it with the Observable:
this.set('imageSource', this._imageSource.loadFromBase64(this._imageBase64String);
Post a Comment for "How To Show And Bind Base64 String To Image As A Source In Nativescript?"