Don Syme

Results 1218 comments of Don Syme

@praeclarum I ended up with this generated API so far for F#: https://github.com/fsprojects/Elmish.XamarinForms/blob/master/Elmish.XamarinForms/DynamicXaml.fs Summary * only one UI element type (XamlElement, an immutable property bag). Fable uses this approach pretty...

> A little more on collections: I think ListView should just have an immutable list of Cell-typed Items instead of ItemsSource/DataTemplate. If that list is in the model, then the...

> A little more on collections: I think ListView should just have an immutable list of Cell-typed Items instead of ItemsSource/DataTemplate. If that list is in the model, then the...

Re flicker - it seems to be better now. I noticed it on some moves in tic-tac-toe, which replaces grid items. By all means review the code though pleeeease. I...

See https://github.com/fsprojects/Elmish.XamarinForms/blob/master/Samples/AllControls/AllControls/AllControls.fs I'm preferring the Xaml.Button syntax right now. A very direct translation from Xaml.

@praeclarum Re this: > Then set the DataTemplate to handle the conversion of the CellView objects to real Cells (either by calling Create or Apply). Is this allowed? AFAICS the...

@praeclarum I managed to solve this for ViewCell by using a custom cell type, see https://github.com/fsprojects/Elmish.XamarinForms/blob/master/Elmish.XamarinForms/DynamicXamlConverters.fs#L42 There are no Bindings, but you do have to have a type that reacts...

@praeclarum I assume we could use a similar technique for EntryCell etc. but I haven't done that yet.

I'm running through examples of every Xamarin.Forms.Core control bit by bit: https://github.com/fsprojects/Elmish.XamarinForms/blob/master/Samples/AllControls/AllControls/AllControls.fs#L96 Let me know what you think

@iwillspeak @scottrudy Is this F# specific?