Steve Shaw

Results 32 comments of Steve Shaw

Whle the original question is about BindingContext, that is not the only need for DI. Consider a custom control that relies on some service, `MyService`. The containing page has no...

To be precise, *intellisense* does not attempt to resolve *unspecified* data contexts. This makes sense, because the data context may not be known until the code executes, setting `BindingContext`. In...

> I do not use X-code, I upload straight to GitHub and compile there by running a task. So... what to do? Any settings? If you are uploading an iOS...

Sep 7, 2014 - this error continues to happen, when attempt to install gradle integration from dist.springsource.com, unless only select sub-item Gradle IDE.

> Do i need to create another ticket? or this can be fixed by the same solution (adding OBJ reference in csproject itemgroups)? Is this covered by issue https://github.com/xamarin/xamarin-macios/issues/19624? [I...

Using a different overload gets past this error: `canvas.DrawText("SkiaSharp", coord.X, coord.Y, font, paint);` However the text is no longer centered in the screen: The text starts at screen center. Text...

FYI: Despite years of developing in .Net for iOS (at first via Xamarin Native / iOS), I had trouble recently getting Splash Screen to work. Posted a StackOverflow Q &...

> [@ToolmakerSteve](https://github.com/ToolmakerSteve) Hey, you got this working somehow? Yes. Added answer: https://stackoverflow.com/a/79565661/199364 BOTTOM LINE: Rofl's lines to "fake" code-sign work, to show on simulator. To get the storyboard file correct,...

Found an acceptable hack to work around this: In custom control: ```cs // in constructor ... BindingContext = FrozenBindingContext = this; ... // override protected override void OnBindingContextChanged() { //...

Brainstorming. A way to distinguish between BindingContext set "directly" on a control, vs "inherited" context: ```cs public partial class SkiaControl : VisualElement { public object DirectBindingContext { get => _directBindingContext;...