radimitrov / CSharpShellApp

77 stars 18 forks source link

IconImageSource #293

Open devastaza opened 1 year ago

devastaza commented 1 year ago

For some reason, the iconimagesource property stopped working, although it worked a couple of updates ago. Source can be specified through the backend (from resources or using the UI.GetAsset() method, but then the icons sometimes change their places or dublicates (there are no problems in the compiler, only in the assembled apk).

There is a bug IMG_20230609_005427.jpg

But there is a correct version IMG_20230609_005446.jpg

radimitrov commented 1 year ago

I will setup a project to test this within a few days, however it doesn't seem possible for icons to swap places only on an independent app. Could be a rendering issue. Does rotating the screen "fix" it?

devastaza commented 1 year ago

No, rotating didn't change anything. Icons replace each other or dublicate after reopen the program. If you want, i can send compiled apk or source code.

radimitrov commented 1 year ago

@devastaza Probably not a rendering issue then. If possible source code would be essential since the root cause could be anything. Also on what Android version are you?

devastaza commented 1 year ago

Sure, i'll send source code soon.

radimitrov commented 1 year ago

@devastaza Might not be needed, hopefully. There should be an update by tomorrow which includes changes in the XAML compiler. That might fix it.

devastaza commented 1 year ago

So, if fix doesn't help us (hopefully does) i'll send

tyronemagwade commented 1 year ago

I've also noticed that if you Binding the image source using the mvvm pattern if doesn't work