Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove MAUI compatibility usage #1

Open
jfversluis opened this issue Jul 27, 2024 · 3 comments
Open

Remove MAUI compatibility usage #1

jfversluis opened this issue Jul 27, 2024 · 3 comments

Comments

@jfversluis
Copy link
Owner

For a first port I have just taken the code and made it work with .NET MAUI.

In this code, the RelativeLayout is being used which is only available in .NET MAUI for compatibility/migration purposes. Update the code to not use legacy layouts anymore and be completely up to date with what is supported in .NET MAUI!

@Srikanth540-L
Copy link

Srikanth540-L commented Aug 2, 2024

Hi @jfversluis , There seems to be issue in android where corner radius is not reflecting and If I have main view in side any layout like stack layout (like in TinderPage of the sample) we can see corner radius is reflecting but we can not do swipe gestures. This issue is only in Android Maui app and I am on net8 version. I hope you will come up with a solution but I feel it is something to do with this issue https://github.com/u/maui/issues/16978

@adha-admin
Copy link

adha-admin commented Oct 13, 2024

In your sample application, For the Tinder app, the buttons work in Android, but the actual swipe left and right do not
BUT it works in IOS.

Having done some more testing, it seems that Android doesnt like the double StackLayout on the outside
then
StackLayout HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
in the DataTemplate

(IOS Doesnt mind)

But removing the stacklayout seems to then not show the frame.
Looks like Frames are old school and we should be using Border now!

Can you please have a look at this and fix?

Also, when are you going to make this an official release?

@jfversluis
Copy link
Owner Author

I will probably start working on this soon-ish, but no guarantees. I need this for an app I'm working on, but that is not something that has any deadline and is mostly just for fun.

If you need this earlier, probably the best thing you can do is clone it yourself and start playing with it to see if you can work it out. I'm more than happy to take pull requests. If that's not something you can do then it will be done when I get back to it and I can't make any promises on when that is exactly, sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants