I hope that Xamarin keeps on improving as I believe it still could be (one of) the best x-plat option.
I hope that Xamarin keeps on improving as I believe it still could be (one of) the best x-plat option.
The tooling is actually pretty good. Now the problem is a lot of the libraries I want to use are native android/java which means doing a lot of C#/java interop.
Ideally, you should be able to specify the java dependencies you want and get some magical interface file generated for you in C# that makes it so you don't have to think so much about the interop, or at least remove any tedium / boiler plate. If that's not there, then I'd say it's a tooling issue.
If you have some of those that you would like us to do, we would love to help you. Anything to remove the friction from using C#.
https://news.ycombinator.com/item?id=13176438
https://developer.xamarin.com/guides/android/deployment,_tes...
There are a couple options:
https://github.com/picoe/Eto (Windows, Linux, OS X, iOS; Android, Windows phone: pre-alpha)
https://github.com/AvaloniaUI/Avalonia (Windows, Linux, OS X, iOS and Android; all alpha)
For now I'm planning on using Eto since my initial focus will be on the desktop.
Our Forms API is a cross-mobile API to create UIs, part of a family of cross-platform APIs that allow for more code sharing across platforms (additionally we now have libraries for 2D raster graphics, 3D retained graphics, and various assorted device-specific libraries [1]).
Eto and Avalonia area really APIs on top of a .NET runtime, either Xamarin or .NET, just like Forms, and they have a focus on the desktop space. I think they are great, and we fix bugs and assist those teams when possible.
That said, some of our users have asked for a long time to share their mobile code on the desktop, so we have started an effort to bring Xamarin.Forms to Mac, and we will be extending this with support for WPF on Windows as well (in addition to the already supported Windows/UWP).
If you want to try out our Mac support, check out this branch:
Obviously the goals of Codename One and Xamarin are different whereas Codename One tries to be WORA, Xamarin doesn't.
I suspect it hasn't been widely adopted simply because it costs money and adds a dependency (Xamarin need to implement new iOS APIs before you can use them).
For me personally, I love C# and really tried to justify buying. But then Swift came along and it's a joy to use. Doesn't work cross platform, of course.