-
Notifications
You must be signed in to change notification settings - Fork 45
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
No @Navigator.Name annotation found #735
Comments
About 18 months ago I had
I had to add the following to proguard.cfg to fix it.
I didn't have a custom navigator though. I'd need to remove those lines and test again to know if they are still required. |
@gmck, default Navigator works correctly. But I need custom implementation for my case. It looks like Xamarin doesn't support it... |
@Edyazn |
Sample is here: https://github.com/Edyazn/CustomNavigatorIssue |
@moljac, have you seen my sample? |
@Edyazn Yes I have. Thanks. But I didn't dive in deeper, yet. |
Android application type
Classic Xamarin.Android (MonoAndroid12.0, etc.)
Affected platform version
Visual Studio Community 2022 for Mac Version 17.4.4, Xamarin.Android 13.1.0.1
Description
I try to create custom AndroidX.Navigation.Navigator. My CustomFragmentNavigator implements IName:
Also I create CustomNavHostFragment:
When executing Java.Lang.IllegalArgumentException has been thrown (No @Navigator.Name annotation found for CustomFragmentNavigator).
What is analog of attribute @Navigator.Name("customFragment") in Xamarin?
Steps to Reproduce
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: