-
Notifications
You must be signed in to change notification settings - Fork 262
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
Problems with binding for xamarin/maui: string with multiple placeholders #428
Comments
Hi, |
Is there any progress on this topic? Thanks in advance. |
Hi @tompi Have you made any progress with this issue? I have the same problem on another SDK and it is also related to android library binding for maui. |
I tried it myself by build an |
Yes, i just unzipped the aar, changed the xml file, rezipped and then bound the library. Cumbersome, but it works... |
Having this exact same issue for the exact same cause when trying to build MAUI sample-apps. The build fails with the same kind of error:
|
Version
2.4.1 (Latest)
Ask the question
Hi, am tagging this as a question, since I dont think this is your bug....
I had some problems binding the latest version, specifically when using produced binding library in a Maui application, I get this compile time error:
This line seems to be causing the problem:
I tried introducing positional format like "Uploading part %1$d/%2$d", but that didnt help.
When I just used "Uploading part %d", it worked...
I see you removed the formatted=false on October 2 in commit 4a5c18d
(I assume since formatted=false would not interpolate, so you probably just got the percent signs?)
Anyway, I know this is not your problem, but MAYBE you could change it to just have one substitution?
(just build the x/y in code and substitute for an %s in the xml)
Its a bit dirty, so I totally understand if you wont do it...
Relevant log output
No response
The text was updated successfully, but these errors were encountered: