Changes to Tizen.NET from Xamarin.Forms 4.2.0
Jay Cho
Engineer
Xamarin.Forms 4.2.0
has been released, with significant changes for the Tizen .NET platform.
What has changed?
The namespaces of major classes were changed to what they are in other platforms. For example, Xamarin.Forms.Platform.Tizen
is now Xamarin.Forms
.
For more details, see an actual Pull Request on Xamarin.Forms.
- Changed classes are:
- Forms
- ExportRendererAttribute
- ExportCellAttribute
- ExportImageSourceHandlerAttribute
- ExportHandlerAttribute
- ViewInitialzedEventArgs
- TizenTitleBarVisibility
How to apply changes in your application
Forms initialization code is changed as follows:
Previous
global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);
Verson 4.2.0 change
Forms.Init(app);
Creating a native control in Custom Renderers was changed as follows:
Previous
new MyButton(Xamarin.Forms.Platform.Tizen.Forms.NativeParent);
Verson 4.2.0 change
new MyButton(Forms.NativeParent);
You may also need to change static APIs you have used, which have older namespaces.
These changes are significant, and you may want further information. Check out the Xamarin.Forms Release notes.