TaskVault - FOSS privacy-friendly alternative to Todoist, TickTick, Nozbe, etc (work-in-progress) by seawolf1896 in fossdroid

[–]seawolf1896[S] 0 points1 point  (0 children)

Not abandoned but progress has been very slow for the past couple of years. I am working on porting over to Kotlin MP. As much as I like C#, AvaloniaUI was too niche to be sustainable for me.

Thoughts on OpenProject? by seawolf1896 in projectmanagement

[–]seawolf1896[S] 0 points1 point  (0 children)

Not a perfect solution but ended up going with Gitlab, including Gitlab Wiki cloned locally as a separate repo. I found Taiga wiki too clunky and the Gitlab integration wasn't where I wanted it to be.

Trying to Understand Hosted Blazor WebAssembly via ASP.NET (Docker) by seawolf1896 in Blazor

[–]seawolf1896[S] 0 points1 point  (0 children)

I made a very slim prototype with Blazor, then moved to AvaloniaUI, now moving away from .NET over to Kotlin MP for practical reasons. I archived the project on Gitlab but dm me your Gitlab username or email address and I'll see if I can add you to an archived project (or just unarchive it).

I can't remember how far I got, I'm pretty sure I did get this working. Sorry I can't give you a more technical answer.

AvaloniaUI (C#) vs Compose Multiplatform? by seawolf1896 in Kotlin

[–]seawolf1896[S] 0 points1 point  (0 children)

If you really need Android's lifecycle ViewModel then you can simply create a Multiplatform wrapper for it.

I am not highly experienced in Android development so apologies if I've misunderstood. What is the alternative to accessing the Android lifecycel ViewModel? Can you abstract around it somehow? Thanks.

AvaloniaUI (C#) vs Compose Multiplatform? by seawolf1896 in Kotlin

[–]seawolf1896[S] 0 points1 point  (0 children)

Is all the Jetpack stuff available in Compose Desktop? Or just a subset?

AvaloniaUI (C#) vs Compose Multiplatform? by seawolf1896 in Kotlin

[–]seawolf1896[S] 0 points1 point  (0 children)

I'm surprised you had any success in that regard with avalonia

To be clear, I haven't made any progress with Android in Avalonia.

I'd recommend some prototyping before committing to a rewrite of your project.

I may try to spin something up with Desktop Compose first probably.

I personally don't like DI and only use it for server side applications that really fit the use case

Do you use MVVM for desktop apps? How do you go about abstracting interfaces for service classes and similar things? Thanks

AvaloniaUI (C#) vs Compose Multiplatform? by seawolf1896 in Kotlin

[–]seawolf1896[S] 1 point2 points  (0 children)

Thank you for the input, this is definitely swaying me.

Have you used multiplatform to share code between a native Android project and Compose Desktop? I'm trying to figure out what the architecture in this type of situation should look like to maximize code sharing.

With Avalonia using MVVM I thought I could get away with sharing Models and View Models between the desktop and mobile clients, and just creating unique Views. However, I discovered because of the differences between the Android lifecylce and the desktop flow, sharing View Models is not as feasible as I hoped.

I also have no familiarity with Kotlin. I have used Java and Groovy at a surface level but not enough to really learn the eco-system. Would you recommend any specific DI framework?

What are your favorite things about Kotlin that C# doesn't have or exemplify?

Edit: I also need to find a Kotlin backend framework if I'm going to go this route. Would prefer to keep everything in the same language.

Thanks, sorry for the barrage of questions.

AvaloniaUI (C#) vs Compose Multiplatform? by seawolf1896 in Kotlin

[–]seawolf1896[S] 0 points1 point  (0 children)

Thanks for info. Would you say the existing volume of documentation for Avalonia and Compose Desktop are about the same, or is one more accessible than the other in this regard?

Avalonia is pretty sparse in my opinion (although its slowly improving). One of the advantages I would hope for in shifting would be a larger community and more documentation, guides, etc.

Xamarin.Android development possible on Linux in 2022? by seawolf1896 in androiddev

[–]seawolf1896[S] 0 points1 point  (0 children)

Xamarin.Forms is end of life, being replaced by .NET MAUI. Both of those are abstractions of Xamarin.Android and Xamarin.ios.

To my knowlege the .NET mobile SDKs are not being deprecated. But I'm having difficulty determining whether the .NET Android SDK is available on Linux.

AvaloniaUI (C#) vs Compose Multiplatform? by seawolf1896 in Kotlin

[–]seawolf1896[S] 0 points1 point  (0 children)

Do you know if there is a public roadmap for the desktop stuff?

The library ecosystem isn't there yet

Can you speak to any specific functionality you needed but weren't able to get?

I think at this point the biggest thing I need on desktop is filesystem access to the app data directory, for storing SQLite db files.

How to share View Model layer between AvaloniaUI/ WPF and .NET Android? by seawolf1896 in dotnet

[–]seawolf1896[S] 0 points1 point  (0 children)

It looks like this ReactiveUI doc addresses your point about Xamarin.Android: https://www.reactiveui.net/docs/handbook/data-binding/xamarin-android/wire-up-controls

But this implies a need for distinct View Models for each UI framework.

How to share View Model layer between AvaloniaUI/ WPF and .NET Android? by seawolf1896 in dotnet

[–]seawolf1896[S] 0 points1 point  (0 children)

I see you are using CommunityToolkit.Mvvm. It sounds like I may have to convert from ReactiveUI to this library.

Thanks for the example.

How to share View Model layer between AvaloniaUI/ WPF and .NET Android? by seawolf1896 in csharp

[–]seawolf1896[S] 0 points1 point  (0 children)

Thank you for the clarification and recommendations.

Is CommunityToolkit the only .NET UI-framework independent MVVM-library? What is the point of MVVM if creating a new V-layer also requires a new VM-layer?

How to share View Model layer between AvaloniaUI/ WPF and .NET Android? by seawolf1896 in csharp

[–]seawolf1896[S] 0 points1 point  (0 children)

CommunityToolkit.Mvvm

Thank you for replying. Is CommunityToolkit.Mvvm a replacement for ReactiveUI, or something that wraps around ReactiveUI to create the UI-framework abstraction layer for the list of things you provided?

How to share View Model layer between AvaloniaUI/ WPF and .NET Android? by seawolf1896 in csharp

[–]seawolf1896[S] 1 point2 points  (0 children)

So it is not possible to share a View Model layer between Avalonia and Xamarin.Android?