Xamarin.Forms 2.3.5-pre5

Important notes

  • Xamarin.Forms is now compatible with .NET Standard projects! Not all build features may work.
  • Behavior change: Device.RuntimePlatform now returns WinRT on WinRT and UWP on UWP.
  • Behavior change: Using the new AutomationProperties may impact UI Test execution on Android. AutomationId, Name, and HelpText will all set the native ContentDescription property, with Name and/or HelpText taking precedence over AutomationId (Name and HelpText will be concatenated). This means that any tests looking for AutomationId will now fail if Name and/or HelpText are also set on that element. To work around this issue, please alter your UI Tests to look for the value of Name/HelpText in this scenario.
  • Behavior change: Calling Focus on a Picker on WinRT/UWP will now open the drop down.
  • Deprecation: Android IVisualElementRenderer.ViewGroup is now obsolete. Please use View instead.

Known Issues

  • 56795 - "DataTriggers do not work on UWP in RELEASE mode"

2.3.5.255-pre5

Nuget package here.

  • [Android] Dispose check before setting properties on Button (PR)
  • [Android] Dispose check on FastButtonRenderer to prevent crash (PR)
  • [Android] Set the Id field for Android Views created by Forms (PR)
  • 36031 - "Button border not drawn on Android without a BorderRadius" (PR)
  • 55588 - "Cannot open more than one ContextAction in different ListViews on IOS" (PR)
  • 56444 - "A small "dot" shows up as value in Android labels when the value is null/empty." (PR)
  • 56895 - "VS2017 stable - previewer exception crash- no method found Button_click on type" (PR)
  • 56896 - "ListViews for lists with many elements regressed in performance on iOS" (PR)
  • 57108 - "Fix possible crash on API 21+ at launch when using Holo theme and FormsApplicationActivity" (PR)
  • 57717 - "Setting background color on Button in Android FormsApplicationActivity causes NRE" (PR)
  • 57749 - "[UWP] After enabling a disabled button it is not clickable" (PR)

2.3.5-pre4

Internal Build

2.3.5.239-pre3

Nuget package here.

  • [All] Rename Accessibility -> AutomationProperties (PR)
  • [Core] fix BP declaring Types for A11y (PR)
  • [Android] Add disposed check on FastRenderers.FrameRenderer (PR)
  • [Android] Add disposed check on FastRenderers.LabelRenderer (PR)
  • [Android] Add disposed check on FastRenderers.VisualElementRenderer (PR)
  • 45602 - "NullPointerException when applying style" (PR)
  • 54717 - "System.NullReferenceException Xamarin.Forms.Platform.Android.PlatformConfigurationExtensions.OnThisPlatform[T] (T element)" (PR)
  • 55542 - "View in Master Content Page stops loading ListView in Detail" (PR)
  • 55559 - "Exception when set the backgroundcolor of the frame on a property change event" (PR)
  • 55636 - "OnPlatform doesn't work on UWP when compiling with .NET Native" (PR)
  • 55745 - "[iOS] NRE in ListView with HasUnevenRows=true after changing content and rebinding" (PR)
  • 55912 - "Tap event not always propagated to containing Grid/StackLayout" (PR)
  • 56079 - "Accessibility Support doesn't work in XAML" (PR)

2.3.5.235-pre2

Nuget package here.

  • [Evolution] - "[Xaml] OnPlatform.Default value" (PR)
  • [Android] Make OnElementPropertyChanged virtual on fast renderers (PR)
  • [Android] Verify FragmentContainer created when queueing fragment transaction (Android) (PR)
  • [iOS] Prevent NRE in ListView OnItemSelected (PR)
  • 51173 - "ImageRenderer, async void SetImage - Cannot catch exceptions" (PR)
  • 55027 - "Xaml compilation can't handle folders in namespaces" (PR)
  • 55096 - "Binding with nested class does not working on XAML." (PR)
  • 55230 - "setStateListAnimator TargetInvocationException Crash in 2.3.5.233-pre1" (PR)
  • 55347 - "Exception when using static resource Thickness in 2.3.5-pre1 with XamlC" (PR)
  • [Internal] README: add macOS to list of supported platforms (PR)
  • [Internal] Add netstandard group to nuspec (PR)

2.3.5.233-pre1

Nuget package here.

Enhancements & Other Changes

  • [Evolution] - MacOS (PR)
  • [Evolution] - Basic Accessibility Support (PR)
  • [Evolution] - "[Enhancement] Map renderer extensibility" (PR)
  • [All] Add pressed and released events to Button (PR)
  • [All] Move XF.ConcurrentDictionary to WP8 project (PR)
  • [All] Reduce overhead of pushing existing navigation stack (PR)
  • [Android] Added Section indexes when FastScrolled is enabled (PR)
  • [Android] Fast Renderers (PR)
  • [Android] Fix NRE when RecycleElement is on and list is scrolled quickly on Android (PR)
  • [Android] Fixed issue where Android Hints were causing a "." to be placed on al… (PR)
  • [Android] Small performance fixes to ListViewRenderer, PlatformSpecific IsFastScrollEnabled (PR)
  • [Android] UI tests for InputTransparent and fixes for Android/Windows (PR)
  • [Core] Add default parameter value of zero to INavigationPageController.Peek() (PR)
  • [Core] Add TV to TargetIdiom (PR)
  • [Core] Added RootPage to NavigationPage (PR)
  • [Core] Align iOS, Android, Windows handling of tap gesture event bubbling (PR)
  • [Core] Fix internal children clear logic (PR)
  • [Core] fix NIE in Span (PR)
  • [Core] ITextElement and TextElement (PR)
  • [Core] move the Font proxying into FontElement (PR)
  • [Core] Share BP across IFontElement implementors (PR)
  • [Core] Split Windows RuntimePlatform into UWP and WinRT (PR)
  • [Core] support more color format in ColorTypeConverter (PR)
  • [Core] Update RelativeLayout to make it respond to constraint changes (PR)
  • [Internal] Fix accessibility gallery (PR)
  • [iOS, Android] Throw InvalidOperationException when ViewCell View is null (PR)
  • [iOS] Dispose Entry and Editor properly and automate GC checks (PR)
  • [iOS] Dispose pickers properly and automate GC checks (PR)
  • [iOS] Expose row animation properties in ListViewRenderer (PR)
  • [iOS] Fix for nullreferenceexception in TabbedRenderer on iOS when it has are no children (yet) (PR)
  • [iOS] Fix obsolete constructor in ContextActionCell (PR)
  • [iOS] Inherit Transitioning Delegate from Child (ModalWrapper) (PR)
  • [iOS] TabbedRenderer / load icons from custom sources (from embedded svg for example) (PR)
  • [macOS] Adds Scrollbars to ListViews and ScrollViews (PR)
  • [macOS] Fixed Tab NSImage crash in TabbedPageRenderer (PR)
  • [Xaml] decorate markup and value providers to speed up inflating (PR)
  • [Xaml] empty service provider (PR)
  • [Xaml] no longer require a ServiceProvider for Trigger and PropertyCo… (PR)
  • [Xaml] Null compiled markup (PR)
  • [Xaml] Resource loading (PR)
  • [XamlC] compile ListStringTypeConverter (PR)
  • [XamlC] compiled TypeExtension (PR)
  • [XamlC] complete the Setter/Trigger fix (PR)
  • [XamlC] debug (PR)
  • [XamlC] Fix debugging tests (PR)
  • [XamlC] supports 'using:' xmlns declarations (PR)

Bug Fixes

  • 27194 - "Possible Memory Leak with ContextAction" (PR)
  • 27731 - "[Android] Action Bar can not be controlled reliably on MasterDetailPage" (PR)
  • 29247 - "iOS Device.OpenUri breaks with encoded params" (PR)
  • 30166 - "Problem with NavigationBar.BarBackgroundColor on Lollipop" (PR)
  • 31415 - "ListView Does Not Update After GC When Collection Uses Weak References" (PR)
  • 32206 - "ContextActions cause memory leak: Page is never destroyed" (PR)
  • 32847 - "Picker text is cleared after selecting an item, whether Picker, DatePicker, or TimePicker" (PR)
  • 32865 - "On MasterDetailPage trying to change Icon of Master page doesn't work if another view is pushed and Image is renderer in blue" (PR)
  • 32956 - "Setting ListView.SelectedItem to null does not remove list item highlight when list item is tapped multiple times quickly" (PR)
  • 39407 - "Picker wrong SelectedIndex value" (PR)
  • 40139 - "Changing the Windows 10 System Theme Color causes ListView text to disappear." (PR)
  • 40251 - "Cannot style Buttons natively using UIButton.Appearance" (PR)
  • 40906 - "CDATA ignored in XAML layout" (PR)
  • 41600 - "ListView.ScrollTo does not behave as per documentation on UWP" (PR)
  • 41619 - "After updating to lastest Xamarin for VS 2015, the UWP Slider Value binding no longer works" (PR)
  • 41778 - "Slider Inside ScrollView Will Open MasterDetailPage.Master" (PR)
  • 41900 - "UWP Map on navigated Page can't change size." (PR)
  • 41919 - "SearchBar crash because set FontFamily in UWP global FontFamily style" (PR)
  • 42000 - "Unable to use comma (",") as decimal point" (PR)
  • 42084 - "Entry Bound to a Double Does Not Accept ',' As Decimal Separator" (PR)
  • 42151 - "UWP Map VisibleRegion is calculated incorrectly" (PR)
  • 42678 - "[Android] System.ObjectDisposedException when tapping a toolbar button after switching tabs." (PR)
  • 43007 - "Controls nested in StackLayout need to inherit IsEnabled property" (PR)
  • 43519 - "[UWP] MasterDetail page ArguementException when nested in a TabbedPage and returning from modal page" (PR)
  • 43527 - "Page title does not change when Title property is set in code or via binding to a ViewModel" (PR)
  • 43694 - "StaticResource does not work for x:String and OnPlatform" (PR)
  • 43783 - "Most Device Styles do not render correctly in Windows Phone 8.1 (RT) applications" (PR)
  • 43867 - "Numeric keyboard shows text / default keyboard when back button is hit" (PR)
  • 43941 - "Memory leak with ListView's RecycleElement on iOS" (PR)
  • 44047 - "Memory leak when using SetBackButtonTitle on iOS" (PR)
  • 44096 - "Grid, StackLayout, and ContentView do not pass IsEnabled changes to their children on Android" (PR)
  • 44176 - "InputTransparent fails if BackgroundColor not explicitly set on Android" (PR)
  • 44213 - "Can't bind to specific properties through OnPlatform" (PR)
  • 44216 - "No property, bindable property, or event found Wen using xamlc" (PR)
  • 44525 - "Xamarin.Forms Listview Row Height Does Not Adapt In iOS" (PR)
  • 44940 - "ScrollToAsync memory leak on UWP" (PR)
  • 44955 - "UWP: Setting Entry BackgroundColor via Behavior results in sticky unfocused background color" (PR)
  • 44980 - "ActivityIndicator disappears when scrolling" (PR)
  • 45027 - "App crashes when double tapping on ToolbarItem or MenuItem very quickly" (PR)
  • 45067 - "No way of cleanly dismissing soft keyboard in UWP" (PR)
  • 45284 - "Extra tab icons display in iOS when binding Title on TabbedPage" (PR)
  • 45179 - "Views in DataTemplate's are being created without the template ever loading." (PR)
  • 45277 - "On UWP, Entry with IsPassword = true does not allow selection of characters" (PR)
  • 45299 - "Using a custom TypeConverter causes a "Sequence contains more than one matching element" compile error" (PR)
  • 45678 - "Improperly adding two cells to a DataTemplate results in cryptic XamlC error" (PR)
  • 45874 - "Effect not attaching to ScrollView" (PR)
  • 45891 - "XamlParseException Cannot use OnIdiom with an inherited type." (PR)
  • 45924 - "On UWP, SearchBar getting focus results in page scrolling unnecessarily" (PR)
  • 46458 - "Grid.IsEnabled property is not working" (PR)
  • 46601 - "MessagingCenter is static" (PR)
  • 46972 - "[Win] ListViews not respecting binding when a GRID is used in the data template"
  • 47701 - "Label inside ViewCell from ListView will clear if updated after await Task.Delay(anyNumber)" (PR)
  • 47923 - "Vectors don't work in Images, and work badly in Buttons" (PR)
  • 48378 - "For builds on Mac, XamlC or Cecil incorrectly updates .mdb files for iOS apps, maybe only when the Xamarin.Build.Download package is also used" (PR)
  • 49384 - "NavigationPage.BarTextColorProperty not working with FormsApplicationActivity in API 21" (PR)
  • 50540 - "PullToRefresh causes crash when context action option is open" (PR)
  • 50584 - "[UWP] Setting ActivityIndicator.IsRunning="false" shows the ActivityIndicator" (PR)
  • 50706 - "A picker in a grid in a viewcell in a tableview does not display the selected item (Windows only)"
  • 51236 - "[WinRT] Setting a MasterDetailPage's IsPresented to false will not immediately update the layout to hide the Master on desktop" (PR)
  • 51652 - "Toggling the Header/Footer on a ListView Throws an NRE" (PR)
  • 51778 - "XamlC needs Portable .pdb support" (PR)
  • 51941 - "Add Highlighted/IsHighlighted property to Button of XF" (PR)
  • 52893 - "FileImageSource is improperly used" (PR)
  • 52266 - "Picker.Focus() does not work on Windows 8.1 and UWP (Windows Desktop) Breaking Behavior Change; see PR" (PR)
  • 52318 - "OnAppearing/Disappearing triggers for all pages in navigationstack backgrounding/foregrounding app" (PR)
  • 52466 - "[UWP Desktop Mode] MasterBehavior Default value doesn't work for MasterDetailPage" (PR)
  • 52507 - "UI Rendering routine is too slow, here is a fix to make it instant." (PR)
  • 52962 - "iOS ListView PullToRefresh not showing activity indicator" (PR)
  • 53113 - "Xamarin.Forms.Map crash on UWP" (PR)
  • 53215 - "Master Details Hamburger Menu Icon not displayed on UWP since V2.3.2.127" (PR)
  • 53224 - "CanExecute not used in ViewCells in UWP" (PR)
  • 53275 - "IProvideValueTarget TargetProperty always null" (PR)
  • 53417 - "Clearing Effects collection results in NullReferenceException" (PR)
  • 53427 - "UWP EntryCell Label Not Correct Color" (PR)
  • 53503 - "Inconsitent behaviour of xaml x:TypeArguments when using nested generic arguments" (PR)
  • 53515 - "F#: Loading images from files causes a null reference exception" (PR)
  • 53803 - "Issue where using FormsApplicationActivity crashes on latest nightlies after PR631." (PR)
  • 54146 - "List view memory leak when using Recycle Element Caching Strategy" (PR)
  • 54153 - "Displaying UIImagePickerController fails to show camera feed" (PR)

Internal

  • [Internal] Normalize Obsolete attributes (PR)
  • [Internal] VSTS support (PR)
  • [Internal] Implicit impl of controller ifaces (PR)
  • [Internal] Add internal XF.Registrar.RegisterAll b/c previewer needs it (PR)
  • [Internal] Remove InternalsVisibleTo from Core to XF.Platforms.** (PR)
  • [Internal] Add EditorBrowsableAttribute to public classes/interfaces in XF.Internals (PR)
  • [Internal] Robust doc change detection (PR)
  • [Internal] IEditorController (PR)
  • [Internal] [Win] Make WinRT/UWP platform classes more maintainable (PR)
  • [Internal] Checkout docs using unix line endings (PR)
  • [Internal] Force git to checkout docs using unix line endings (PR)
  • [Internal] Update ListProxyTest.WeakToWeak so it works in Release mode (PR)
  • [UITests] Add Xamarin.Forms.Core.UITests.Shared (PR)

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.