ChasakisD / XFShimmerLayout

Efficient way to add a shimmering effect to your Xamarin.Forms applications.
Apache License 2.0
53 stars 12 forks source link

Do you have an iOS sample ? #8

Open AlonRom opened 5 years ago

EmilAlipiev commented 4 years ago

If you read the source code, you can see that it is a skiasharp implementation without any custom renderers. So it should work for all platforms.

ChasakisD commented 4 years ago

Yeap, works on all platforms SkiaSharp works :) I'll keep in mind to upload an iOS sample tho.

EmilAlipiev commented 4 years ago

hey great work. just a quick question, i havent tried yet but is there any performance decrease on complex listview itemplates? eventually it is drawing with skia i believe.

ChasakisD commented 4 years ago

I have used it with ffimageloading and listview and it worked pretty well :)

EmilAlipiev commented 4 years ago

I have just had a chance to try your sample. it doesnt work at the page is loading. it looks like that it only works when page is completely loaded. like in your sample, you click to button to load. but once you move it to the constructor to load, it isnt displayed. do you know why?

EmilAlipiev commented 4 years ago

problem is you need first load the data (raise property changed on obvervablecollection) in order to display shimmerlayout. but shimmerlayout meant to be shown while data is loading. it is good implementation but we need to enhance the way it is working. otherwise it make no sense to load data first and show shimmer at the same time. in your sample if you remove line, shimmer is never displayed.

Things = new ObservableCollection { "jjj", "jjj", "jjj", "jjj", "jjj" };