muak / AiForms.Effects

AiForms.Effects for Xamarin.Forms
MIT License
245 stars 27 forks source link

AddCommand effects isnot work in iOS #12

Closed mrxten closed 7 years ago

mrxten commented 7 years ago

I tried use EffectColor for BoxView and Grid and isnt work. How to solve problem? And yes, I called Init method in AppDelegate.

muak commented 7 years ago

@mrxten Thank you for trying it. I will investigate about the issue. Please wait for a while.

mrxten commented 7 years ago

I meant effect color does not work for ios, if there not command. Can you change it? :)

muak commented 7 years ago

@mrxten Sorry, color not changing when there is not command is normal behavior. How about use void command ?

public Command VoidCommand{get;set;}

public ViewModel(){
    VoidCommand = new Command( _ => {});
}
<Label ef:AddCommand.Command="{Binding VoidCommand}" ... />
mrxten commented 7 years ago

@muak, but in Android works without command. You will not change it?

muak commented 7 years ago

@mrxten Certainly. But I would rather fix not to change color when command is null on Android than iOS change.

mrxten commented 7 years ago

But if I want change effect color by tap without command? This would be good. Anyway thanks for your library :)