Fuse v1.6.0
As of Fuse v1.6.0
This module started to show some warnings:
Modules/NativeControls/DatePicker.ScriptClass.uno(43.5): W4139: 'Fuse.Scripting.ScriptMethod`1..ctor(string,Uno.Action<Fuse.Scripting.Context, T, object[]>,Fuse.Scripting.ExecutionThread)' is obsolete: 'Use ScriptMethod<T>(string, Uno.Action<T)>), ScriptMethod<T>(string, Uno.Action<T, object[])>) or ScriptMethod<T>(string, Uno.Func<Fuse.Scripting.Context, T, object[], object)>) instead'
Modules/NativeControls/DatePicker.ScriptClass.uno(44.5): W4139: 'Fuse.Scripting.ScriptMethod`1..ctor(string,Uno.Action<Fuse.Scripting.Context, T, object[]>,Fuse.Scripting.ExecutionThread)' is obsolete: 'Use ScriptMethod<T>(string, Uno.Action<T)>), ScriptMethod<T>(string, Uno.Action<T, object[])>) or ScriptMethod<T>(string, Uno.Func<Fuse.Scripting.Context, T, object[], object)>) instead'
Modules/NativeControls/DatePicker.ScriptClass.uno(45.5): W4139: 'Fuse.Scripting.ScriptMethod`1..ctor(string,Uno.Action<Fuse.Scripting.Context, T, object[]>,Fuse.Scripting.ExecutionThread)' is obsolete: 'Use ScriptMethod<T>(string, Uno.Action<T)>), ScriptMethod<T>(string, Uno.Action<T, object[])>) or ScriptMethod<T>(string, Uno.Func<Fuse.Scripting.Context, T, object[], object)>) instead'
Modules/NativeControls/TimePicker.ScriptClass.uno(43.5): W4139: 'Fuse.Scripting.ScriptMethod`1..ctor(string,Uno.Action<Fuse.Scripting.Context, T, object[]>,Fuse.Scripting.ExecutionThread)' is obsolete: 'Use ScriptMethod<T>(string, Uno.Action<T)>), ScriptMethod<T>(string, Uno.Action<T, object[])>) or ScriptMethod<T>(string, Uno.Func<Fuse.Scripting.Context, T, object[], object)>) instead'
Does anyone know how to fix these warnings?
I think you can fix them by using one of the suggested methods in the warning. But fuse is now shipping an official version of DatePicker and TimePicker, I think its better if you switch to those.
I don't really understand Uno yet. So I don't really know how to use the suggested methods.
I'm using this module because the official versions doesn't have what I need and I added them to this module. Already suggested this features on the forum, but until now there was no update on it.
That's why I'm asking if someone knows how to fix the warnings, so I can use this until there is any update on the official ones.