Forum Xamarin.Forms


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Xamarin.Forms 2.2.0

BryanHunterXamBryanHunterXam USXamarin Team Xamurai
edited November 2016 in Xamarin.Forms

2.2.0 hotfix 1


In parallel to this 2.2.0 hotfix release, Nuget packages for Xamarin.Forms 2.3.0-pre3 and Xamarin.Forms.CarouselView 2.3.0-pre1 were also shipped. As the CarouselView's version suggests, it has a dependency on Xamarin.Forms 2.3.0 ("-pre3" or greater).

Bug fixes

36955 -[iOS] ViewCellRenderer.UpdateIsEnabled Object reference not set to an instance of an object .
40844 - [Android] Forms Android app gets stuck with GC bridge calls when using current beta branch of Xamarin.Android/Mono Runtime



Open source

With this release we open source Forms. The Xamarin.Forms GitHub repo is here. The source for 2.2.0 is here.

CarouselView split into separate package

CarouselView, which appeared in Xamarin.Forms 2.2.0-pre1 through pre4, has been been removed from the Xamarin.Forms package, and moved into its own Nuget package.

Bug fixes

40656 - iOS WebView Rotation, Sizing and Scaling issues


Bug fixes

39821 - ViewExtension.TranslateTo cannot be invoked on Main thread(Android Marshmellow devices only).
40555 - App crashes when setting VisualElement.Scale to 0

Other fixes

Fixed "System.MissingMethodException: Method 'Looper.get_IsCurrentThread' not found"


Bug fixes

39987 - MapView not working correctly on iOS 9.3
40209 - Getting exception after launching forms sample "BugSweeper"
40228 - Calling Task.Wait in on OnStateChanged on main thread hangs the app
40334 - CarouselView does not work on UWP Forms 2.2.0 Pre-2
40434 - CarouselView.Item throws a NullReferenceException
40435 - Entry on UWP crashing with nullreference exception Xamarin.Forms V2.2.0-pre2

Other fixes

[Android] Update android support packages to 23.3
[Core] CarouselView Fixes (CarouselView.Item, formatting, ItemsView.Count to IItemsViewController, Remove dead code, re-layout subviews on resize, add ItemTemplate to resources.xaml on UWP, Docs)
[Android] Use style resources when calling SetTextAppearance
[Android] Allow designer to disable asynchronicity in image loading.
[UWP] Unhook Entry and Editor event handlers during Dispose
[WinRT] Fix WebView.Eval
[Android] Remove unneeded cast in ListViewRenderer
[Android] Fix relaunch template app hangs; Port fix from OnStateChange in FormsAppCompatActivity to FormsApplicationActivity
[UWP] Adjust bounds for ContentPage when by itself
[iOS] Add iOS localized string resource assemblies to nuspec
[Nuget] Remove Google Play Services dependency


Bug fixes

39499 - CarouselView layout rendering issue on Android
40152 - ListView doesn't trigger item selection
40173 - Android Frame blocks ListView selection

Other fixes

[Android] Fix race condition in IsInvokeRequired
[Android] Fix issue where API23 became required by mistake
[Core] Cast to ICommand instead of Command inside SearchBar
[Core] Automatically marshal all AnimationExtensions calls onto UI thread
[Android] Ensure carouselView disposes correctly
[Android, iOS] Other CarouselView bug fixes and behavior correction: No ItemSelected or PositionSelected event is fired upon start. PositionSelected precedes ItemSelected after movement. When setting the position causes pages to be skipped events are only raised for the target page.


New Features

Updated Google Package Dependencies

Xamarin.Forms on Android now depends on GooglePlayServices for maps and Xamarin.Android.Support.v4 (and friends) at


Adding margin support is intended to allow users to reduce the overall depth of their layout hierarchies by allowing more complex layouts with fewer wrapping views.
public Thickness Margin { get; set; }

UWP Maps

UWP Maps are now supported, just like other platforms.


CarouselView is intended to fully replace CarouselPage. CarouselPage will be deprecated in a future release. CarouselView is superior in many ways, including its ability to be virtualized and nested within layouts.

Nest platform controls to Forms layout

Allows adding platform-specific controls (iOS, Android, and Windows) directly to a Forms layout. Note: this isn't available from PCL and requires #if defines to work from a shared project.

2D ScrollView Support

scrollView.Orientation = ScrollOrientation.Both

AutomationId Support

Xamarin.Forms now has first class support for setting automation identifiers for usage with Xamarin UITest or other testing frameworks. Simply setting the AutomationID property should allow the automation framework to find and interact with your controls.

Bug Fixes

21177 - Using a UICollectionView in a ViewRenderer results in issues with selection.
21699 - WebView does not propagate its BindingContext to its Source
23393 - [All platforms] PropertyChangedEventHandler causes 2 consecutive calls to changed property's getter
25234 – WP8 - Light theme status bar disappears after DisplayAlert
25662 - Setting IsEnabled does not disable SwitchCell in Forms listview
27350 - Binding throws Null Pointer Exception when Updating Tab
27417 - Button.Image behaviors differently on each platform and has extra padding even with no Text
28628 - Reuse of cell containing an Image that are async loaded will display the previous image.
28709 - Application.Properties saving crash
31670 - On WinRT, BackgroundColor of Button is used to paint outside the border of Buttons with rounded corners
32462 - Crash after a page disappeared if a ScrollView is in the HeaderTemplate property of a ListView
33181 - InitializeComponent() method call in XAML code behind page constructor "does not exist in current context" (IntelliSense error)
33240 - IOS ListViewRenderer.Dispose() should dispose header and footer
34055 - Listview with custom CellView render error on iOS9 landscape iPad
35407 - jobject muste not be IntPtr.Zero with Animation
36479 - [WP] Picker Is Not Disabled When IsEnabled is Set To False
36788 - [Forms] Truncation Issues with Relative Layouts
36850 - ProgressBar BackgroundColor not working in iOS
37113 - MasterDetailPage swipe gesture doesn't work after IsGestureEnabled is toggled
37625 - App crashes when quickly adding/removing Image views (Windows UWP)
37841 - [Forms Android] TableView EntryCell's and TextCell's cease to update after focus change
38112 - [Forms][Android] Switch disappearing from TableView ViewCell on Android only
38193 - OpenGLViewRenderer crashes when leaving the page.
38416 - ListView Sized Incorrectly After Containing Layout's Visibility is Toggled
38658 - Rotation causes app containing carousel page to freeze
38978 - Cell.ForceUpdateSize issues with row selection/deselection on Android
39039 - Toggling Grouping on Listview + ListViewCaching.RecycleElement Sometimes Doesnt Render Group Header
39104 - iOS Navigation.ModalStack not the same as Android and Windows
39239 - Xamarin.Forms.Platform.Android.FontExtensions.ToScaledPixel missing case for NamedSize.Default
39327 - Application.Current.Properties does not persist on Android
39331 - [Android] BoxView Is InputTransparent Even When Set to False
39342 - NullReference Exception when attempting to push a new page
39359 - Image View does cache failed HTTP responses
39377 - ListView.Footer not update iOS
39378 - Image binding with caching not operating as expected
39395 - SwitchCell does not take all available place inside ListView
39403 - [Android] Forms 2.1.0, Switching tabs that have NavigationPages throws: Java.Lang.IllegalStateException: Recursive entry to executePendingTransactions
39409 - SearchBar.SearchCommand does not respect CanExecute
39447 - [Windows Phone 8.1] Images not rendered in ListView unless explicit size set
39449 - UWP: Dependency attribute in 3rd party assemblies
39450 - [Forms] ListView item shrinks / resizes when removing then adding Context Action in ViewCell OnBindindContextChanged.
39451 - Unable to activate instance of type Xamarin.Forms.Platform.Android.ListViewAdapter from native handle
39458 - [UWP/WinRT] Cannot Set CarouselPage.CurrentPage Inside Constructor
39461 - UWP: Labels within a ScrollView are blurred
39463 - [WP8.0] Items not showing in ListView using DataTemplate when there are more items than can fit on screen.
39464 - [UWP Forms] Rounded Button Corners do not render in Forms (but do in native UWP
39476 - [Forms] Selecting item in ListView and scrolling with RecycleElement results in more items selected.
39483 - ListView Context Menu localization
39495 - MasterDetail missing Navigation Bar Windows RT
39506 - Effects.Clear does not detach the effect.
39509 - Setting Page Content doesn't work
39548 - CarouselPage does not work in UWP on Windows 10 Mobile
39566 - System.InvalidOperationException: Sequence contains more than one matching element
39624 - [UWP] CarouselPage.Children Appear Out of Order
39668 - Overriding ListView.CreateDefault Does Not Work on Windows
39702 – Cannot enter text when Entry is focus()'d from an editor completed event
39721 - "Failed to add reference to 'Xamarin.Forms.Core.Design'" when adding XF NuGet in Windows 81 project
39742 - OnAppearing not triggered if coming back after leaving Android app via home button
39815 - ScrollView is overlapping other content in StackLayout on Android
39829 - RowHeight of ListView is not working for UWP
39831 - MasterDetailPage showing back button instead of Icon in landscape mode (Tablet only)
39853 - BorderRadius ignored on UWP
39870 - Xamarin.Forms.Maps Geocoder GetPositionsForAddressAsync always returns an empty set on Android
39896 - StreamImageSource Streams Aren't Disposed

Other Fixes

  • Resolve crash when serializing properties.
  • [Core] Resolve issue where binding to a bound property would invalidate the second binding
  • [Core] Resolve issue where template bindings resolve the the wrong templated parent in some nesting scenarios
  • [Android] Make sure not to update image bitmap in background thread
  • [Android] Fix potential crash in OnLayout after resume
  • [Android] Fix bug with ActivityIndicator default color on Lollipop+
  • [Android] Fix NRE in OnScroll method in android
  • [Android] Fix crash when pressing back to exit the app
  • [Android] Change Forms class to accept Context type arguments and upcast to Activity as necessary.
  • [iOS] Fix crash when visiting website with weird URL handling
  • [iOS] Fix crash in VisualElementPackager if re-used on same element
  • [RT] Make sure editor has wrapping enabled
  • [RT] Add missing binding for SearchBox text
  • [UWP] Invalidate Image when loaded in a way which Grid won't ignore
  • [UWP] Make sure Scrollview measures child inside of measure call
  • [UWP] Make sure we dont construct a negative value size
  • [UWP] Fix UWP bug where app bar icon color is ignored on modal NavigationPages
  • [UWP] Fix more instances of Layout Cycle detected
  • Many other minor bug fixes

Known Issues

  • CarouselView can sometimes fail to display content on Android
  • CarouselView programmatic moving of index broken
  • SearchBar.SearchCommand will crash when set to non Xamarin.Forms.Command ICommand.
  • Tapping a BoxView or Frame in a ViewCell will not trigger selection

Important notes



  • AdamPAdamP AUUniversity ✭✭✭✭✭
    edited April 2016

    Wow! Ok now I know why you were taking your time with this one :)

  • AdamPAdamP AUUniversity ✭✭✭✭✭

    The Intellisense error still isn't resolved. I have a UWP app, Visual Studio 2015 Enterprise Update 2, latest Xamarin and the latest Nuget package 2.2.0. I even did a full machine reboot afterwards, rebuilds, deleting everything in the obj/bin directries and I also tried the latest Xamarin in the Alpha channel.

    33181 - InitializeComponent() method call in XAML code behind page constructor "does not exist in current context" (IntelliSense error)

    I still get the IntelliSense error.

  • TheRealJasonSmithTheRealJasonSmith USXamarin Team Xamurai

    @AdamP can you please make sure your .targets file was updated properly?

  • TheRealJasonSmithTheRealJasonSmith USXamarin Team Xamurai

    @AdamP also please be aware that the fix does require a fresh rebuild after deleting the obj/bin directories. Also are you using resharper or code rush?

  • AdamPAdamP AUUniversity ✭✭✭✭✭

    @TheRealJasonSmith - yes the proj references the new .targets files. Im not using resharper or code rush or anything similar.

  • NMackayNMackay GBInsider, University admin


    Thanks for pushing #27417 up the priority list :smile:

  • JKayJKay USMember ✭✭✭
    edited April 2016

    Is there any documentation / blogposts on using the CarouselView?


    Xamarin.Android.Support.v4 (and friends) at

    Is this a typo and actually means Latest stable version of these packages is 23.2.1. I'm guessing we should only be updating to

  • NMackayNMackay GBInsider, University admin


    Does this release given the ability to move ContentPage.ToolbarItems to the left? It's something we need to soon preferably without fragile custom renderer hacks.

  • TheRealJasonSmithTheRealJasonSmith USXamarin Team Xamurai

    @JKay not a typo. We have not had time to run those packages with Forms through the QA ringer yet. We will likely be updating this release before final.

  • Maharshi.5212Maharshi.5212 USMember ✭✭

    I tried to create a sample project using carouselview, It is showing some exception. Here is my sample project.
    As far as I know I have to use the same logic that I have used for carousel page.

  • MichaelRumplerMichaelRumpler ATMember ✭✭✭✭✭

    I updated to, closed VS2015, deleted the old packages/Xamarin.Forms.* folder, deleted all bin+obj folders, checked all *.csproj and packages.config files if they really reference the correct version, restarted VS, removed the references to Xamarin.Forms.Core.Design and Xamarin.Forms.Xaml.Design from the PCL project, rebuilt and got 117 errors in the Android/Resources/Resource.designer.cs file. :-(

  • DavidDunscombeWrkDavidDunscombeWrk GBMember ✭✭

    Had the same issue, did all the usual tricks cleaned, deleted bin/obj folders, deleted c:\users{username}\AppData\Local\Xamarin, updated Android SDK, forced complete reinstall of nuget packages. In the end I tracked it down to xamarin forms oxyplot package. In the end I pulled down the source for the xamarin forms version from github and recompiled it with 2.2pre, that seemed to fix the Resource.Id issues. The nuget package does use the Xamarin.Android.Support so i guess it can't coexist with version

  • JKayJKay USMember ✭✭✭
    edited April 2016

    same issue as @MichaelRumpler here..

    Some more information on how I upgraded. I just clicked Xamarin.Forms.Maps and hit upgrade for all my projects and let Xamarin.Forms.Maps sort out the dependencies.

    No interfering with Xamarin.Android etc...

  • AlmaJensen.9398AlmaJensen.9398 USMember ✭✭✭

    Any chance of
    being addressed. I know it's marked as minor but it's makes it so much easier to create custom check box controls and custom icons within an app without having to jump through hoops of redoing all your images each time you decide that you want to change the size a little. It's my number 1 irritation with Xamarin Forms.

  • MichaelRumplerMichaelRumpler ATMember ✭✭✭✭✭
    edited April 2016

    @DavidDunscombeWrk I tried that. I have dependencies to XLabs and DevExpress.Grid.

    When I tried to update XF in XLabs, I got

    3>D:\Xamarin-Forms-Labs\packages\Xamarin.Forms.\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets(62,3): error MSB4018:
    The "XamlCTask" task failed unexpectedly.
    System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cecil, Version=, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.
    File name: 'Mono.Cecil, Version=, Culture=neutral, PublicKeyToken=0738eb9f132ed756'

    I don't have the sources of the DevExpress.Grid. I tried rebuilding their GridDemo with the new XF and got the same errors in the Resource.designer.cs, which I got in my app. Just not so many. Only 78. There's already a ticket in DX support. DevExpress' support is very fast, so I'm confident that they will send a new version to Xamarin within 2 days. But then Xamarin has to release it to the component store ...

    So I'll revert and wait...

  • TheRealJasonSmithTheRealJasonSmith USXamarin Team Xamurai

    Did you restart your IDE after updating? The target cant reload with the IDE open.

  • BryanHunterXamBryanHunterXam USXamarin Team Xamurai

    @NMackay said:

    Does this release given the ability to move ContentPage.ToolbarItems to the left? It's something we need to soon preferably without fragile custom renderer hacks.

    No, that isn't part of this round.

  • NMackayNMackay GBInsider, University admin

    @BryanHunterXam said:

    @NMackay said:

    Does this release given the ability to move ContentPage.ToolbarItems to the left? It's something we need to soon preferably without fragile custom renderer hacks.

    No, that isn't part of this round.

    Oh well :neutral: fair enough. Thanks for responding.

  • MiguelCervantesMiguelCervantes MXMember ✭✭✭

    CarouselView WTF!! (Well Thats Fantastic) Does the brand new CarouselView have a navigation-dot-like included? or is just like the CarouselPage but with the ability to be nested on the layouts?

  • MichaelRumplerMichaelRumpler ATMember ✭✭✭✭✭

    DevExpress said that they won't build their Grid for XF pre-release versions.
    This effectively means that if you depend on the DevExpress.Grid, then you cannot use XF 2.2.0 until it was released and DevExpress made a new version with it.

  • NMackayNMackay GBInsider, University admin

    @MichaelRumpler said:
    DevExpress said that they won't build their Grid for XF pre-release versions.
    This effectively means that if you depend on the DevExpress.Grid, then you cannot use XF 2.2.0 until it was released and DevExpress made a new version with it.

    Telerik are the same. You can't blame them as they have to QA test their controls against the official release before passing it on to customers. I'm sure they'll have a beta if you ask them nicely, ,Telerik ahve helped me in the past if I was on a time crunch and a bug fix was in the new beta build.

  • DavidDunscombeWrkDavidDunscombeWrk GBMember ✭✭

    Just to be clear - the issue is expected behavior for this release, until other 3rd party assemblies get updated?

  • BastiBrauningBastiBrauning USMember ✭✭

    @DavidDunscombeWrk if that's true we have to remove our nuget packages and manually checkout all sources and update them to 2.2.0. We depend on some packages which get rarely updated by the author...

  • DavidDunscombeWrkDavidDunscombeWrk GBMember ✭✭

    It wasn't clear in my last post but i was asking Xamarin if that is the case.

  • JMarcusJMarcus USMember ✭✭✭

    @TheRealJasonSmith is there a reason why one of the GooglePlayServices libraries is now a requirement for Xamarin.Forms? We currently deploy to devices with and without Google Play Services and this could really impact us.

  • JMarcusJMarcus USMember ✭✭✭

    @TheRealJasonSmith Thank you for the quick response. Good to know.

  • ThomasBurkhartThomasBurkhart DEMember ✭✭✭✭

    Any chance to have Commands for ListView Events added? It's annoying that we have to create our own ListView classes to properly use it in MVVM designs.

  • Matthew.4307Matthew.4307 USMember ✭✭✭

    Argh, can't build Android due to resource errors - Only one of the 3rd Party libraries being used works out-of-the-box.

    Thanks for fixing my Windows issue though (39495 - MasterDetail missing Navigation Bar Windows RT) everything seems to be good in the Windows RT project so far.

  • KasperOvergrdNielsenKasperOvergrdNielsen DKBeta, University ✭✭

    After upgrading to XF 2.2.0-pre1 on Android, my app hangs if I navigate away (back-button or home), and then resume by pressing the App icon.

    Breaking in the debugger during the hang, I see the following stack trace:
    System.Threading.Monitor.Monitor_wait() in
    System.Threading.Monitor.Wait(object obj, int millisecondsTimeout) in /Users/builder/data/lanes/3053/a94a03b5/source/mono/mcs/class/corlib/System.Threading/Monitor.cs:148
    System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, cancellationToken) in /Users/builder/data/lanes/3053/a94a03b5/source/mono/external/referencesource/mscorlib/system/threading/ManualResetEventSlim.cs:669
    System.Threading.Tasks.Task.SpinThenBlockingWait(int millisecondsTimeout, cancellationToken) in /Users/builder/data/lanes/3053/a94a03b5/source/mono/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:3356
    System.Threading.Tasks.Task.InternalWait(int millisecondsTimeout, cancellationToken) in /Users/builder/data/lanes/3053/a94a03b5/source/mono/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:3295
    System.Threading.Tasks.Task.Wait(int millisecondsTimeout, cancellationToken) in /Users/builder/data/lanes/3053/a94a03b5/source/mono/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:3201
    System.Threading.Tasks.Task.Wait() in /Users/builder/data/lanes/3053/a94a03b5/source/mono/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:3083
    Xamarin.Forms.Platform.Android.FormsApplicationActivity.OnStateChanged() in C:\BuildAgent3\work\aad494dc9bc9783\Xamarin.Forms.Platform.Android\FormsApplicationActivity.cs:300

    Xamarin.Forms.Platform.Android.FormsApplicationActivity.OnStop() in C:\BuildAgent3\work\aad494dc9bc9783\Xamarin.Forms.Platform.Android\FormsApplicationActivity.cs:215
    Android.App.Activity.n_OnStop(System.IntPtr jnienv, System.IntPtr native__this) in /Users/builder/data/lanes/3053/a94a03b5/source/monodroid/src/Mono.Android/platforms/android-23/src/generated/Android.App.Activity.cs:4925
    object.70e2e675-bff2-4b3c-a10f-bcf6bd7ddefe( arg0, arg1) in

    So it is waiting for some Task in Android.FormsApplicationActivity.OnStateChanged(), never really having completed the n_OnStop, but what is it waiting for?

    The stack trace is devoid of any code I wrote, but is it possible for me as an application programmer to cause this hang?

  • AdamNullAdamNull USMember

    Is there any possibility that 37663 will be addressed in 2.2.0? The rendering problem with Android context actions means we've gone to an alternate solution, adding toolbar buttons of trash cans all over the app, which is not exactly an elegant solution.

  • AdamBennett.7253AdamBennett.7253 USMember ✭✭

    Any chance of Bug 39827 being fixed in final release? I really don't want to recreate my project as a PCL and/or change all my XAML code to c# just to be able to build in UWP

  • KasperOvergrdNielsenKasperOvergrdNielsen DKBeta, University ✭✭

    @KasperOvergrdNielsen said:
    After upgrading to XF 2.2.0-pre1 on Android, my app hangs if I navigate away (back-button or home), and then resume by pressing the App icon.

    I have raised a bugreport on this 40228, that includes a workaround if anybody else needs it.

  • ThomasBurkhartThomasBurkhart DEMember ✭✭✭✭

    @antonin.3432 Thanks for the suggestion. I prefer the extended ListView because it makes the Xaml more readable.
    Anyway, all Events should be available as Commands for the standard controls.

  • BjornBBjornB USMember ✭✭✭
    edited April 2016

    @AdamNull , thats not a bug, and here is your solution <item name="windowActionModeOverlay">true</item>.
    Add that to your style, if youre using forms appcompat, add it in the base style (not v21).

    It would be nice if xamarin included this in their tutorial though :P, scratched my head a lot with this one @XamarinHQ

  • P3PPPP3PPP JPMember ✭✭

    CarouselView throws System.InvalidCastException. (Xamarin.Forms on iOS and Android)

    My code

    <?xml version="1.0" encoding="UTF-8"?>
    <ContentPage xmlns=""
            <CarouselView x:Name="carouselView">
                    <x:Array Type="{x:Type x:String}">
                        <TextCell Text="{Binding}" />


    at Xamarin.Forms.ItemsView.Xamarin.Forms.IItemViewController.CreateView (System.Object type) [0x0000b] in :0
    at Xamarin.Forms.Platform.iOS.CarouselViewController+Cell.Initialize (IItemViewController controller, System.Object itemType, System.Object item, Int32 position) [0x00017] in :0
    at Xamarin.Forms.Platform.iOS.CarouselViewController.GetCell (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath) [0x000a2] in :0
    at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
    at UIKit.UIApplication.Main (System.String[] args, IntPtr principal, IntPtr delegate) [0x00005] in /Users/builder/data/lanes/3051/5f11db87/source/maccore/src/UIKit/UIApplication.cs:77
    at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/3051/5f11db87/source/maccore/src/UIKit/UIApplication.cs:61
    at XFApp20.iOS.Application.Main (System.String[] args) [0x00008] in /Users/P3PPP/Projects/XFApp20/iOS/Main.cs:17


    at Xamarin.Forms.ItemsView.Xamarin.Forms.IItemViewController.CreateView (System.Object type) [0x0000b] in C:\BuildAgent3\work\aad494dc9bc9783\Xamarin.Forms.Core\ItemsViewSimple.cs:56
    at Xamarin.Forms.Platform.Android.ItemViewAdapter.OnCreateViewHolder (Android.Views.ViewGroup parent, Int32 viewType) [0x0000d] in C:\BuildAgent3\work\aad494dc9bc9783\Xamarin.Forms.Platform.Android\Renderers\CarouselViewRenderer.cs:1222
    at Android.Support.V7.Widget.RecyclerView+Adapter.n_OnCreateViewHolder_Landroid_view_ViewGroup_I (IntPtr jnienv, IntPtr native__this, IntPtr native_parent, Int32 viewType) [0x00011] in :0
    at (wrapper dynamic-method) System.Object:bc27b837-4681-415d-ba4f-653106ab7bb7 (intptr,intptr,intptr,int)

  • TheRealJasonSmithTheRealJasonSmith USXamarin Team Xamurai

    @AdamNull it is at the top of our to-fix list. No promises because we only recently got a minimal reproduction but we will be trying.

  • BjornBBjornB USMember ✭✭✭

    @BjornB said:
    @AdamNull , thats not a bug, and here is your solution <item name="windowActionModeOverlay">true</item>.
    Add that to your style, if youre using forms appcompat, add it in the base style (not v21).

    It would be nice if xamarin included this in their tutorial though :P, scratched my head a lot with this one @XamarinHQ

    @TheRealJasonSmith what is there to fix if this already fixes it? Try it out in the attached project for the "bug".

  • DerekPapworth.4183DerekPapworth.4183 GBMember ✭✭

    Noticed that tap and hold in listview to bring up contextactions in UWP seems to only work if tapping on area in listitem that has a control beneath it .. if you tap and hold in space to the right (when label is less width than screen) although something detects it as it's highlighted, the contextactions do not appear.

    see this link too :

Sign In or Register to comment.