WithConversion<...> does not appear do the same as WithConversion(new ...) #2449
Closed
1 of 7 tasks
Labels
s/needs-more-info
Needs more information from the reporter
Steps to reproduce 📜
NotValueConverter
, so I wroteExpected behavior 🤔
When
IsLoggedIn
is false, I expect my loginButton to be enabled; which I guess means that I expect that MvvmCross will automatically look for theNotValueConverter
, create an instance if it doesn't yet exist, and then use that.Actual behavior 🐛
loginButton is not enabled, not converter is never called. However, if I use
it does do the right thing. Maybe I had to
Mvx.Register
theNotConverter
? Not sure. I also want to note that I can use.WithConversion("NotConverter")
if I register usingWhen I register as such,
.WithConversion<NotValueConverter>()
still does not work.Configuration 🔧
Version: 5.5.2
Platform:
The text was updated successfully, but these errors were encountered: