Pre-release: Xamarin.Forms 2.4.0.275-pre3

DavidOrtinauDavidOrtinau USForum Administrator, Xamarin Team, Insider, University Xamurai
edited September 19 in Xamarin.Forms Releases

We've pushed Xamarin.Forms 2.4.0.275-pre3 to NuGet and have begun QA in preparation for making this our next stable release.

This is a continuation of the 2.3.5-pre series. Due to the scope and volume of changes, it was determine that 2.4.0 better conveys that.

To install the pre-release, check the pre-release option in your NuGet manager and install this version.

If you discover a bug to report, drop us a quick report here and if at all possible include a project that demonstrates it.

For complete details, please refer to the release notes.

Highlights

  • Over 150 bug fixes
  • .NET Standard 2.0 Support
  • New Feature Flags API
  • Android Fast Renderers: Button, Image, Label
  • macOS Preview
«13456789

Posts

  • BradChase.2654BradChase.2654 USMember ✭✭✭
    edited April 14

    YAYYY!!!! I think there are issues still with the fast renderers, namely the Label. I will look into it when I have some time but the "." (hints) are back on the pickers as well. Also I wanted to point out for anyone with a heavy UI should enjoy the boost on the UWP side, we found it works amazing now!

    Thanks again @DavidOrtinau and the whole Xamarin team, this is an amazing release! As a side note, what is the best way to start testing Forms on MacOS?

    EDIT: Ohh about the fast renderers with the Label. We crash when we enable it, so we are currently using the old renderer. I will again try to look into it when I have the time, hopefully Saturday.

    EDIT2: NM stupid me, I didnt see the blog post. Forget I asked about MacOS :).

  • DavidOrtinauDavidOrtinau USForum Administrator, Xamarin Team, Insider, University Xamurai

    Thanks @BradChase.2654, keep the feedback coming. We continue to refactor those fast renderers and know there's work yet to do. Let us know how it breaks for you, in what situation. When you have time. Saturday. :)

  • KosengKoseng DEMember ✭✭

    Another important behavioral change which gave me some headache and should be mentioned more clearly:

    Device.Windows is gone and was split into Device.UWP and Device.WinRT.
    https://github.com/xamarin/Xamarin.Forms/pull/748

    Platform checks on Device.Windows do not work any more and there is no error message!

  • PhilippSumiPhilippSumi USMember ✭✭✭
    edited April 14

    Upgrade from 2.3.4 crashes hard during startup. It's probably once again that damn CarouselView. I know I sound like a broken record, but: When can we get our hands at an updated control, or at least some updated source code that allows us to tweak it ourselves?

    (minor: There's no 2.3.5 version entry on Bugzilla yet)

  • PhilippSumiPhilippSumi USMember ✭✭✭

    Btw, there seems to be a lot of issues around the (as I read deprecated) ViewGroup. I removed the CarouselView to just have a look, then got a crash from HockeyApp with ViewGroup in the StackTrace, then removed HockeyApp, just to get yet another exception (see stack trace below). So basically, no matter what parts of the UI gets to render first, everything seems to trip over that. (Note: Didn't file a bug report on this one.)

    04-14 15:38:17.431 I/MonoDroid(16313): System.NullReferenceException: Object reference not set to an instance of an object.
    04-14 15:38:17.431 I/MonoDroid(16313):   at Xamarin.Forms.Platform.Android.AppCompat.Platform.LayoutRootPage (Xamarin.Forms.Platform.Android.FormsAppCompatActivity activity, Xamarin.Forms.Page page, System.Int32 width, System.Int32 height) [0x00012] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Cells\CellRenderer.cs:138 
    04-14 15:38:17.431 I/MonoDroid(16313):   at Xamarin.Forms.Platform.Android.AppCompat.Platform.Xamarin.Forms.Platform.Android.IPlatformLayout.OnLayout (System.Boolean changed, System.Int32 l, System.Int32 t, System.Int32 r, System.Int32 b) [0x0000c] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FormsApplicationActivity.cs:283 
    04-14 15:38:17.431 I/MonoDroid(16313):   at Xamarin.Forms.Platform.Android.PlatformRenderer.OnLayout (System.Boolean changed, System.Int32 l, System.Int32 t, System.Int32 r, System.Int32 b) [0x0000a] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\ListViewAdapter.cs:22 
    04-14 15:38:17.431 I/MonoDroid(16313):   at Android.Views.ViewGroup.n_OnLayout_ZIIII (System.IntPtr jnienv, System.IntPtr native__this, System.Boolean changed, System.Int32 l, System.Int32 t, System.Int32 r, System.Int32 b) [0x00009] in /Users/builder/data/lanes/4009/3a62f1ea/source/monodroid/src/Mono.Android/platforms/android-25/src/generated/Android.Views.ViewGroup.cs:3427 
    04-14 15:38:17.431 I/MonoDroid(16313):   at (wrapper dynamic-method) System.Object:8c0992fb-396c-4462-a40e-5f04dd7648f1 (intptr,intptr,bool,int,int,int,int)
    04-14 15:38:17.461 W/art     (16313): JNI RegisterNativeMethods: attempt 
    
  • renzskarenzska USMember ✭✭
    edited April 14

    Updating to 2.3.5.233-pre1 breaks my build with a single "Object reference not set to an instance of an object" error on every xaml file in my main PCL project. If I comment out

    [assembly: XamlCompilation(XamlCompilationOptions.Compile)]
    

    from my AssemblyInfo.cs file, it works fine; obviously related to XamlC.

    Note: I am forcing my build process to use Mono 4.8 due to a Fody bug with Cecil: https://github.com/Fody/Fody/issues/302

    Does this pre-release require Mono 5 if using XamlCompilation?

  • BradChase.2654BradChase.2654 USMember ✭✭✭

    @DavidOrtinau Well I cleaned up all of our old renderers and moved old code we had since before Effects out to effects and surprise surprise, everything runs great! A TON of refactoring but looks like the issue was on our end with the fast renderer side effects and our older renderers that for the most sake are not needed anymore because of new functionality.

  • BradChase.2654BradChase.2654 USMember ✭✭✭

    So is it possible to do any mac development in VS2017 or on the PC in anyway? Or must you be on the mac?

  • NickKovalskyNickKovalsky USMember ✭✭

    Cannot report a bug as a cannot find the exact cause that makes my app launch-crash upon unhandled exception in the code of nowhere after i updated to this version.
    Rolled back to 2.3.4.231 yay app works again. Just to warn people.

  • rmarinhormarinho PTMember, Insider, Beta Xamurai

    @NickKovalsky what platform? Can you post a stracktrace or output log?! Thanks

  • NickKovalskyNickKovalsky USMember ✭✭

    Hi, im actually on Forms Android, unhandled exception on emulator and on real smartphone.
    Tried on windows emulator and local, its working, no crash.
    The last part of the output windows:

    04-17 17:58:20.405 I/dalvikvm( 2889): Could not find method android.view.ViewGroup., referenced from method md5b60ffeb829f638581ab2bb9b1a7f4f3f.PlatformRenderer.
    04-17 17:58:20.405 W/dalvikvm( 2889): VFY: unable to resolve direct method 23383: Landroid/view/ViewGroup;. (Landroid/content/Context;Landroid/util/AttributeSet;II)V
    04-17 17:58:20.405 D/dalvikvm( 2889): VFY: replacing opcode 0x70 at 0x0000
    04-17 17:58:20.417 D/Mono ( 2889): Assembly Ref addref Xamarin.Android.Support.Core.UI[0xb90248d0] -> Xamarin.Android.Support.Compat[0xb9023aa0]: 4
    04-17 17:58:20.421 I/dalvikvm( 2889): Could not find method android.view.ViewGroup., referenced from method md5b60ffeb829f638581ab2bb9b1a7f4f3f.MasterDetailContainer.
    04-17 17:58:20.421 W/dalvikvm( 2889): VFY: unable to resolve direct method 23383: Landroid/view/ViewGroup;. (Landroid/content/Context;Landroid/util/AttributeSet;II)V
    04-17 17:58:20.421 D/dalvikvm( 2889): VFY: replacing opcode 0x70 at 0x0000
    04-17 17:58:20.425 D/Mono ( 2889): DllImport searching in: '__Internal' ('(null)').
    04-17 17:58:20.425 D/Mono ( 2889): Searching for 'java_interop_jnienv_set_int_field'.
    04-17 17:58:20.425 D/Mono ( 2889): Probing 'java_interop_jnienv_set_int_field'.
    04-17 17:58:20.425 D/Mono ( 2889): Found as 'java_interop_jnienv_set_int_field'.
    04-17 17:58:20.453 I/dalvikvm( 2889): Could not find method android.widget.ImageView., referenced from method md57018357d52b54713cd814fbd5262dd1f.ImageRenderer.
    04-17 17:58:20.453 W/dalvikvm( 2889): VFY: unable to resolve direct method 24102: Landroid/widget/ImageView;. (Landroid/content/Context;Landroid/util/AttributeSet;II)V
    04-17 17:58:20.453 D/dalvikvm( 2889): VFY: replacing opcode 0x70 at 0x0000
    Thread started: #4
    InspectorDebugSession(0): HandleTargetEvent: ThreadStarted
    Thread started: #5
    InspectorDebugSession(0): HandleTargetEvent: ThreadStarted
    04-17 17:58:20.489 D/Mono ( 2889): [0xb9c076f0] worker starting
    Thread started: #6
    InspectorDebugSession(0): HandleTargetEvent: ThreadStarted
    04-17 17:58:20.501 D/Mono ( 2889): [0xb9bfb730] worker starting
    04-17 17:58:20.513 D/dalvikvm( 2889): GC_FOR_ALLOC freed 469K, 16% free 3312K/3920K, paused 2ms, total 2ms
    04-17 17:58:20.513 I/dalvikvm-heap( 2889): Grow heap (frag case) to 4.196MB for 868524-byte allocation
    04-17 17:58:20.517 D/Mono ( 2889): DllImport searching in: '__Internal' ('(null)').
    04-17 17:58:20.517 D/Mono ( 2889): Searching for 'java_interop_jnienv_call_nonvirtual_boolean_method_a'.
    04-17 17:58:20.517 D/Mono ( 2889): Probing 'java_interop_jnienv_call_nonvirtual_boolean_method_a'.
    04-17 17:58:20.517 D/Mono ( 2889): Found as 'java_interop_jnienv_call_nonvirtual_boolean_method_a'.
    04-17 17:58:20.517 D/dalvikvm( 2889): GC_CONCURRENT freed 1K, 13% free 4159K/4772K, paused 1ms+0ms, total 2ms
    04-17 17:58:20.517 D/dalvikvm( 2889): WAIT_FOR_CONCURRENT_GC blocked 1ms
    04-17 17:58:20.521 D/Mono ( 2889): [0xb9bfb730] hill climbing, change max number of threads 2
    04-17 17:58:20.529 I/dalvikvm( 2889): Could not find method android.widget.TextView., referenced from method md5b60ffeb829f638581ab2bb9b1a7f4f3f.FormsTextView.
    04-17 17:58:20.529 W/dalvikvm( 2889): VFY: unable to resolve direct method 24443: Landroid/widget/TextView;. (Landroid/content/Context;Landroid/util/AttributeSet;II)V
    04-17 17:58:20.529 D/dalvikvm( 2889): VFY: replacing opcode 0x70 at 0x0000
    04-17 17:58:20.533 D/Mono ( 2889): DllImport searching in: '__Internal' ('(null)').
    04-17 17:58:20.533 D/Mono ( 2889): Searching for 'java_interop_jnienv_new_local_ref'.
    04-17 17:58:20.533 D/Mono ( 2889): Probing 'java_interop_jnienv_new_local_ref'.
    04-17 17:58:20.533 D/Mono ( 2889): Found as 'java_interop_jnienv_new_local_ref'.
    04-17 17:58:20.557 D/dalvikvm( 2889): GC_FOR_ALLOC freed 16K, 7% free 4459K/4772K, paused 1ms, total 1ms
    04-17 17:58:20.565 D/dalvikvm( 2889): GC_FOR_ALLOC freed 1K, 7% free 4644K/4960K, paused 2ms, total 2ms
    04-17 17:58:20.565 I/dalvikvm-heap( 2889): Grow heap (frag case) to 6.710MB for 2141244-byte allocation
    04-17 17:58:20.569 D/dalvikvm( 2889): GC_FOR_ALLOC freed <1K, 5% free 6735K/7052K, paused 3ms, total 3ms
    04-17 17:58:20.569 D/dalvikvm( 2889): GC_CONCURRENT freed <1K, 5% free 6735K/7052K, paused 0ms+0ms, total 1ms
    04-17 17:58:20.585 I/dalvikvm( 2889): Could not find method android.view.ViewGroup., referenced from method md5b60ffeb829f638581ab2bb9b1a7f4f3f.ListViewRenderer_Container.
    04-17 17:58:20.585 W/dalvikvm( 2889): VFY: unable to resolve direct method 23383: Landroid/view/ViewGroup;. (Landroid/content/Context;Landroid/util/AttributeSet;II)V
    04-17 17:58:20.585 D/dalvikvm( 2889): VFY: replacing opcode 0x70 at 0x0000
    04-17 17:58:20.637 D/Mono ( 2889): DllImport searching in: '__Internal' ('(null)').
    04-17 17:58:20.637 D/Mono ( 2889): Searching for 'java_interop_jnienv_call_nonvirtual_float_method_a'.
    04-17 17:58:20.637 D/Mono ( 2889): Probing 'java_interop_jnienv_call_nonvirtual_float_method_a'.
    04-17 17:58:20.637 D/Mono ( 2889): Found as 'java_interop_jnienv_call_nonvirtual_float_method_a'.
    04-17 17:58:20.653 D/Mono ( 2889): DllImport searching in: '__Internal' ('(null)').
    04-17 17:58:20.653 D/Mono ( 2889): Searching for 'java_interop_jnienv_call_nonvirtual_object_method'.
    04-17 17:58:20.653 D/Mono ( 2889): Probing 'java_interop_jnienv_call_nonvirtual_object_method'.
    04-17 17:58:20.653 D/Mono ( 2889): Found as 'java_interop_jnienv_call_nonvirtual_object_method'.
    04-17 17:58:20.653 D/Mono ( 2889): DllImport searching in: '__Internal' ('(null)').
    04-17 17:58:20.653 D/Mono ( 2889): Searching for 'java_interop_jnienv_call_nonvirtual_int_method_a'.
    04-17 17:58:20.653 D/Mono ( 2889): Probing 'java_interop_jnienv_call_nonvirtual_int_method_a'.
    04-17 17:58:20.653 D/Mono ( 2889): Found as 'java_interop_jnienv_call_nonvirtual_int_method_a'.
    04-17 17:58:20.657 D/Mono ( 2889): DllImport searching in: '__Internal' ('(null)').
    04-17 17:58:20.657 D/Mono ( 2889): Searching for 'java_interop_jnienv_call_int_method'.
    04-17 17:58:20.657 D/Mono ( 2889): Probing 'java_interop_jnienv_call_int_method'.
    04-17 17:58:20.657 D/Mono ( 2889): Found as 'java_interop_jnienv_call_int_method'.
    04-17 17:58:20.669 D/Mono ( 2889): Assembly Ref addref Xamarin.Android.Support.v7.AppCompat[0xb902ba50] -> System.Core[0xb925ac90]: 8
    04-17 17:58:20.677 D/Mono ( 2889): DllImport searching in: '__Internal' ('(null)').
    04-17 17:58:20.677 D/Mono ( 2889): Searching for 'java_interop_jnienv_call_void_method'.
    04-17 17:58:20.677 D/Mono ( 2889): Probing 'java_interop_jnienv_call_void_method'.
    04-17 17:58:20.677 D/Mono ( 2889): Found as 'java_interop_jnienv_call_void_method'.
    04-17 17:58:20.681 D/Mono ( 2889): Assembly Ref addref Mono.Android[0xb903c1b0] -> System.Xml[0xb96514f0]: 3
    04-17 17:58:20.681 D/Mono ( 2889): Assembly Ref addref Xamarin.Android.Support.v4[0xb902ac30] -> Xamarin.Android.Support.Compat[0xb9023aa0]: 5
    04-17 17:58:20.697 I/dalvikvm( 2889): Could not find method android.view.ViewGroup., referenced from method md5b60ffeb829f638581ab2bb9b1a7f4f3f.PageContainer.
    04-17 17:58:20.701 W/dalvikvm( 2889): VFY: unable to resolve direct method 23383: Landroid/view/ViewGroup;. (Landroid/content/Context;Landroid/util/AttributeSet;II)V
    04-17 17:58:20.701 D/dalvikvm( 2889): VFY: replacing opcode 0x70 at 0x0000
    04-17 17:58:20.701 D/Mono ( 2889): Assembly Ref addref Runner[0xb903a420] -> FFImageLoading.Forms[0xb9014820]: 3
    04-17 17:58:20.701 D/Mono ( 2889): Assembly Ref addref FFImageLoading.Forms[0xb9014820] -> FFImageLoading[0xb90138a0]: 3
    04-17 17:58:20.701 D/Mono ( 2889): Unloading image System.Threading.Tasks.dll [0xb9e9f4c0].
    04-17 17:58:20.701 D/Mono ( 2889): Image addref System.Threading.Tasks[0xb9e96b90] -> System.Threading.Tasks.dll[0xb9649080]: 6
    04-17 17:58:20.701 D/Mono ( 2889): Config attempting to parse: 'System.Threading.Tasks.dll.config'.
    04-17 17:58:20.701 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.Threading.Tasks/System.Threading.Tasks.config'.
    04-17 17:58:20.701 D/Mono ( 2889): Assembly Ref addref FFImageLoading.Forms[0xb9014820] -> System.Threading.Tasks[0xb9649c40]: 4
    04-17 17:58:20.705 D/Mono ( 2889): Assembly Ref addref FFImageLoading.Forms[0xb9014820] -> FFImageLoading.Platform[0xb9016740]: 3
    04-17 17:58:20.705 D/Mono ( 2889): Assembly Ref addref FFImageLoading.Platform[0xb9016740] -> FFImageLoading[0xb90138a0]: 4
    04-17 17:58:20.705 D/Mono ( 2889): Image addref System.Net.Http[0xb9ecda50] -> System.Net.Http.dll[0xb9eccd30]: 2
    04-17 17:58:20.705 D/Mono ( 2889): Prepared to set up assembly 'System.Net.Http' (System.Net.Http.dll)
    04-17 17:58:20.705 D/Mono ( 2889): Assembly System.Net.Http[0xb9ecda50] added to domain RootDomain, ref_count=1
    04-17 17:58:20.705 D/Mono ( 2889): AOT module 'System.Net.Http.dll.so' not found: dlopen failed: library "/data/app-lib/com.xamarin.appothalionru-2/libaot-System.Net.Http.dll.so" not found
    04-17 17:58:20.705 D/Mono ( 2889): AOT module '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/lib/mono/aot-cache/x86/System.Net.Http.dll.so' not found: dlopen failed: library "/data/app-lib/com.xamarin.appothalionru-2/libaot-System.Net.Http.dll.so" not found
    04-17 17:58:20.705 D/Mono ( 2889): Config attempting to parse: 'System.Net.Http.dll.config'.
    04-17 17:58:20.705 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.Net.Http/System.Net.Http.config'.
    04-17 17:58:20.705 D/Mono ( 2889): Assembly Ref addref FFImageLoading[0xb90138a0] -> System.Net.Http[0xb9ecda50]: 2
    04-17 17:58:20.705 D/Mono ( 2889): Assembly Ref addref System.Net.Http[0xb9ecda50] -> mscorlib[0xb8fd29f0]: 60
    04-17 17:58:20.709 D/Mono ( 2889): Unloading image System.Collections.dll [0xb9ee0dc0].
    04-17 17:58:20.709 D/Mono ( 2889): Image addref System.Collections[0xb9e9b2e0] -> System.Collections.dll[0xb9143ef0]: 9
    04-17 17:58:20.709 D/Mono ( 2889): Config attempting to parse: 'System.Collections.dll.config'.
    04-17 17:58:20.709 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.Collections/System.Collections.config'.
    04-17 17:58:20.709 D/Mono ( 2889): Assembly Ref addref FFImageLoading.Forms[0xb9014820] -> System.Collections[0xb9144650]: 7
    04-17 17:58:20.709 D/Mono ( 2889): Unloading image System.ObjectModel.dll [0xb9ee1530].
    04-17 17:58:20.709 D/Mono ( 2889): Image addref System.ObjectModel[0xb9e9b2f0] -> System.ObjectModel.dll[0xb95b45a0]: 7
    04-17 17:58:20.709 D/Mono ( 2889): Config attempting to parse: 'System.ObjectModel.dll.config'.
    04-17 17:58:20.709 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.ObjectModel/System.ObjectModel.config'.
    Loaded assembly: System.Net.Http.dll [External]
    04-17 17:58:20.709 D/Mono ( 2889): Assembly Ref addref FFImageLoading.Forms[0xb9014820] -> System.ObjectModel[0xb95b4430]: 5
    04-17 17:58:20.713 D/Mono ( 2889): Unloading image System.Threading.Tasks.dll [0xb9edb3e0].
    04-17 17:58:20.713 D/Mono ( 2889): Image addref System.Threading.Tasks[0xb9ef43d0] -> System.Threading.Tasks.dll[0xb9649080]: 7
    04-17 17:58:20.713 D/Mono ( 2889): Config attempting to parse: 'System.Threading.Tasks.dll.config'.
    04-17 17:58:20.713 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.Threading.Tasks/System.Threading.Tasks.config'.
    04-17 17:58:20.713 D/Mono ( 2889): Assembly Ref addref FFImageLoading[0xb90138a0] -> System.Threading.Tasks[0xb9649c40]: 5
    04-17 17:58:20.717 D/Mono ( 2889): Unloading image System.IO.dll [0xb9edb3e0].
    04-17 17:58:20.717 D/Mono ( 2889): Image addref System.IO[0xb9ef43d0] -> System.IO.dll[0xb9694ba0]: 5
    04-17 17:58:20.717 D/Mono ( 2889): Config attempting to parse: 'System.IO.dll.config'.
    04-17 17:58:20.717 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.IO/System.IO.config'.
    04-17 17:58:20.717 D/Mono ( 2889): Assembly Ref addref FFImageLoading[0xb90138a0] -> System.IO[0xb9695660]: 3
    04-17 17:58:20.717 D/Mono ( 2889): Assembly Ref addref FFImageLoading.Platform[0xb9016740] -> System.Net.Http[0xb9ecda50]: 3
    04-17 17:58:20.717 D/Mono ( 2889): Assembly Ref addref System.Net.Http[0xb9ecda50] -> System[0xb90e2210]: 11
    04-17 17:58:20.717 D/Mono ( 2889): Assembly Ref addref FFImageLoading.Platform[0xb9016740] -> System[0xb90e2210]: 12
    04-17 17:58:20.717 D/Mono ( 2889): Unloading image System.Collections.dll [0xb9ec2c60].
    04-17 17:58:20.717 D/Mono ( 2889): Image addref System.Collections[0xb9ec3810] -> System.Collections.dll[0xb9143ef0]: 10
    04-17 17:58:20.717 D/Mono ( 2889): Config attempting to parse: 'System.Collections.dll.config'.
    04-17 17:58:20.717 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.Collections/System.Collections.config'.
    04-17 17:58:20.717 D/Mono ( 2889): Assembly Ref addref FFImageLoading[0xb90138a0] -> System.Collections[0xb9144650]: 8
    04-17 17:58:20.721 D/Mono ( 2889): Unloading image System.Runtime.Extensions.dll [0xb9eca840].
    04-17 17:58:20.721 D/Mono ( 2889): Image addref System.Runtime.Extensions[0xb9ea4270] -> System.Runtime.Extensions.dll[0xb96a1f50]: 5
    04-17 17:58:20.721 D/Mono ( 2889): Config attempting to parse: 'System.Runtime.Extensions.dll.config'.
    04-17 17:58:20.721 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.Runtime.Extensions/System.Runtime.Extensions.config'.
    04-17 17:58:20.721 D/Mono ( 2889): Assembly Ref addref FFImageLoading[0xb90138a0] -> System.Runtime.Extensions[0xb96958e0]: 3
    04-17 17:58:20.741 D/Mono ( 2889): Assembly Ref addref FFImageLoading.Platform[0xb9016740] -> System.Core[0xb925ac90]: 9
    04-17 17:58:20.749 D/Mono ( 2889): Unloading image System.Globalization.dll [0xb9f60580].
    04-17 17:58:20.749 D/Mono ( 2889): Image addref System.Globalization[0xb9f5a290] -> System.Globalization.dll[0xb976c030]: 5
    04-17 17:58:20.749 D/Mono ( 2889): Config attempting to parse: 'System.Globalization.dll.config'.
    04-17 17:58:20.749 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.Globalization/System.Globalization.config'.
    04-17 17:58:20.749 D/Mono ( 2889): Assembly Ref addref FFImageLoading.Forms[0xb9014820] -> System.Globalization[0xb940b0a0]: 3
    04-17 17:58:20.761 D/Mono ( 2889): Unloading image System.Threading.dll [0xb9fa1fb0].
    04-17 17:58:20.761 D/Mono ( 2889): Image addref System.Threading[0xb9f5ca10] -> System.Threading.dll[0xb90b1450]: 6
    04-17 17:58:20.761 D/Mono ( 2889): Config attempting to parse: 'System.Threading.dll.config'.
    04-17 17:58:20.761 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.Threading/System.Threading.config'.
    04-17 17:58:20.761 D/Mono ( 2889): Assembly Ref addref FFImageLoading.Forms[0xb9014820] -> System.Threading[0xb90e3f90]: 4
    04-17 17:58:20.765 D/Mono ( 2889): Unloading image System.Threading.dll [0xb9f79610].
    04-17 17:58:20.765 D/Mono ( 2889): Image addref System.Threading[0xb9f79390] -> System.Threading.dll[0xb90b1450]: 7
    04-17 17:58:20.765 D/Mono ( 2889): Config attempting to parse: 'System.Threading.dll.config'.
    04-17 17:58:20.765 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.Threading/System.Threading.config'.
    04-17 17:58:20.765 D/Mono ( 2889): Assembly Ref addref MvvmHelpers[0xb901b230] -> System.Threading[0xb90e3f90]: 5
    04-17 17:58:20.789 D/Mono ( 2889): DllImport searching in: '__Internal' ('(null)').
    04-17 17:58:20.789 D/Mono ( 2889): Searching for 'java_interop_jnienv_call_nonvirtual_void_method'.
    04-17 17:58:20.789 D/Mono ( 2889): Probing 'java_interop_jnienv_call_nonvirtual_void_method'.
    04-17 17:58:20.789 D/Mono ( 2889): Found as 'java_interop_jnienv_call_nonvirtual_void_method'.
    04-17 17:58:20.789 D/Mono ( 2889): DllImport searching in: '__Internal' ('(null)').
    04-17 17:58:20.789 D/Mono ( 2889): Searching for 'java_interop_jnienv_call_nonvirtual_boolean_method'.
    04-17 17:58:20.789 D/Mono ( 2889): Probing 'java_interop_jnienv_call_nonvirtual_boolean_method'.
    04-17 17:58:20.789 D/Mono ( 2889): Found as 'java_interop_jnienv_call_nonvirtual_boolean_method'.
    04-17 17:58:20.789 D/Mono ( 2889): Unloading image System.Threading.Tasks.dll [0xb9f88d50].
    04-17 17:58:20.789 D/Mono ( 2889): Image addref System.Threading.Tasks[0xb9fd0ab0] -> System.Threading.Tasks.dll[0xb9649080]: 8
    04-17 17:58:20.789 D/Mono ( 2889): Config attempting to parse: 'System.Threading.Tasks.dll.config'.
    04-17 17:58:20.789 D/Mono ( 2889): Config attempting to parse: '/Users/builder/data/lanes/4468/f913a78a/source/monodroid/builds/install/mono-x86/etc/mono/assemblies/System.Threading.Tasks/System.Threading.Tasks.config'.
    04-17 17:58:20.789 D/Mono ( 2889): Assembly Ref addref Runner[0xb903a420] -> System.Threading.Tasks[0xb9649c40]: 6
    04-17 17:58:20.801 D/Mono ( 2889): DllImport searching in: '__Internal' ('(null)').
    04-17 17:58:20.801 D/Mono ( 2889): Searching for 'java_interop_jnienv_call_boolean_method'.
    04-17 17:58:20.801 D/Mono ( 2889): Probing 'java_interop_jnienv_call_boolean_method'.
    04-17 17:58:20.801 D/Mono ( 2889): Found as 'java_interop_jnienv_call_boolean_method'.
    InspectorDebugSession(0): HandleTargetEvent: UnhandledException
    Thread finished: #5
    InspectorDebugSession(0): HandleTargetEvent: ThreadStopped
    04-17 17:59:15.107 D/Mono ( 2889): [0xb9c076f0] worker finishing
    The thread 'Unknown' (0x5) has exited with code 0 (0x0).
    Thread finished: #6
    InspectorDebugSession(0): HandleTargetEvent: ThreadStopped
    04-17 17:59:19.363 D/Mono ( 2889): [0xb9bfb730] worker finishing
    The thread 'Unknown' (0x6) has exited with code 0 (0x0).
    Thread finished: #4
    InspectorDebugSession(0): HandleTargetEvent: ThreadStopped
    The thread 'Unknown' (0x4) has exited with code 0 (0x0).

  • JoeMankeJoeManke USMember ✭✭✭✭

    I'm getting an InvalidProgramException after upgrading. Seems to be an issue with the ResourceDictionary as it occurs when I'm using a resource to set the padding on my ListView cells. So

    This is the resource, defined in App.xaml Resources:

    <Thickness x:Key="cellPadding">8.0</Thickness>
    

    Using it like so causes the exception:

    <ViewCell
        x:Class="MyApp.CustomCell"
        xmlns="http://xamarin.com/schemas/2014/forms"
        xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
        <Grid Padding="{StaticResource cellPadding}">
            <!-- Children -->
        </Grid>
    </ViewCell>
    

    Exception message: Invalid IL code in MyApp.CustomCell:InitializeComponent (): IL_0291: call 0x0a000216

    Stack trace:

      at MyApp.CustomCell..ctor () [0x00008] in B:\MyApp\Cells\CustomCell.xaml.cs:15 
      at MyApp.AccountSearchResultsList+<InitializeComponent>_anonXamlCDataTemplate_16.LoadDataTemplate () <0x8d8812c0 + 0x00057> in <9a5cf59205f84f78a639ff1f440ae809>:0 
      at Xamarin.Forms.ElementTemplate.CreateContent () [0x00026] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\ElementTemplate.cs:78 
      at Xamarin.Forms.Internals.DataTemplateExtensions.CreateContent (Xamarin.Forms.DataTemplate self, System.Object item, Xamarin.Forms.BindableObject container) [0x00014] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\DataTemplateExtensions.cs:15 
      at Xamarin.Forms.Internals.TemplatedItemsList`2[TView,TItem].CreateContent (System.Int32 index, System.Object item, System.Boolean insert) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\TemplatedItemsList.cs:528 
      at Xamarin.Forms.Internals.TemplatedItemsList`2[TView,TItem].ConvertContent (System.Int32 startingIndex, System.Collections.IList items, System.Boolean forceCreate, System.Boolean setIndex) [0x00014] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\TemplatedItemsList.cs:665 
      at Xamarin.Forms.Internals.TemplatedItemsList`2[TView,TItem].OnProxyCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e, System.Boolean fixWindows) [0x00187] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\TemplatedItemsList.cs:1003 
      at Xamarin.Forms.Internals.TemplatedItemsList`2[TView,TItem].OnProxyCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\TemplatedItemsList.cs:955 
      at Xamarin.Forms.ListProxy.OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x0000a] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\ListProxy.cs:233 
      at Xamarin.Forms.ListProxy+<>c__DisplayClass33_0.<OnCollectionChanged>b__0 () [0x00018] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\ListProxy.cs:206 
      at Xamarin.Forms.ListProxy.OnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x000a0] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\ListProxy.cs:225 
      at Xamarin.Forms.ListProxy+WeakNotifyProxy.OnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00031] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\ListProxy.cs:394 
      at (wrapper delegate-invoke) <Module>:invoke_void_object_NotifyCollectionChangedEventArgs (object,System.Collections.Specialized.NotifyCollectionChangedEventArgs)
      at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00012] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:288 
      at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedAction action, System.Object item, System.Int32 index) [0x00000] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:351 
      at System.Collections.ObjectModel.ObservableCollection`1[T].InsertItem (System.Int32 index, T item) [0x00024] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:219 
      at System.Collections.ObjectModel.Collection`1[T].Add (T item) [0x00023] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/mscorlib/system/collections/objectmodel/collection.cs:67 
      at MyApp.ViewModels.RecentResultsViewModel+<FetchRecentResults>d__1.MoveNext () [0x00137] in B:\MyApp\ViewModels\RecentResultsViewModel.cs:24 
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187 
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156 
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128 
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113 
      at eLationTechnician.Forms.Pages.SearchPages.RecentResultsPage+<Refresh>d__2.MoveNext () [0x00025] in B:\eLationTechnician.Xamarin.Forms\eLationTechnician.Forms\Pages\SearchPages\RecentResultsPage.xaml.cs:28 
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 
      at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__0 (System.Object state) [0x00000] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1018 
      at Android.App.SyncContext+<Post>c__AnonStorey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/4468/b16fb820/source/xamarin-android/src/Mono.Android/Android.App/SyncContext.cs:35 
      at Java.Lang.Thread+RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/4468/b16fb820/source/xamarin-android/src/Mono.Android/Java.Lang/Thread.cs:36 
      at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in /Users/builder/data/lanes/4468/b16fb820/source/monodroid/src/Mono.Android/platforms/android-25/src/generated/Java.Lang.IRunnable.cs:81 
      at (wrapper dynamic-method) System.Object:26fa3f1b-cc88-4040-b8e4-ef77f546ec7e (intptr,intptr)
    
  • DavidOrtinauDavidOrtinau USForum Administrator, Xamarin Team, Insider, University Xamurai

    @BradChase.2654 said:
    So is it possible to do any mac development in VS2017 or on the PC in anyway? Or must you be on the mac?

    No. Same constraints as Xamarin.Mac b/c that's the head project type.

  • DavidOrtinauDavidOrtinau USForum Administrator, Xamarin Team, Insider, University Xamurai

    @JoeManke I'm not able to reproduce your issue on 2.3.5.233-pre1. If a clean/obliterate doesn't clear it up, please submit a bug with a reproduction project to https://aka.ms/bugzilla.

  • JKayJKay USMember ✭✭✭

    @JoeManke @DavidOrtinau I get Invalid IL exception in a handfull of my views, Didn't have time to investigate, and I'm not sure what the exception actually means.

    Be good to know if you get to the bottom of it.

  • DavidOrtinauDavidOrtinau USForum Administrator, Xamarin Team, Insider, University Xamurai

    @JoeManke @JKay we have a repro now. Looking into it.

  • -EricHamrick--EricHamrick- USMember

    App that uses buttons experiencing crashes in Android 4.4. Its appears that ButtonRenderer.cs in Android platform is throwing a missing method exception on anything before API 21 when it sets StateListAnimator to null during initialization.

  • DavidOrtinauDavidOrtinau USForum Administrator, Xamarin Team, Insider, University Xamurai
    @JoeManke @JKay ok, we need more repro projects. Please open a bug report for us.
  • JoeMankeJoeManke USMember ✭✭✭✭

    @DavidOrtinau @JKay Still working on getting a repro project/bug report written up, but I believe I've discovered the cause. It's using the resource in a GroupHeaderTemplate.

  • JoeMankeJoeManke USMember ✭✭✭✭
    edited April 18

    Bug submitted: https://bugzilla.xamarin.com/show_bug.cgi?id=55347

    (I kind of accidentally made it private and cannot change that, sorry to anyone who doesn't work for Xamarin.)

  • BelljuBellju RUMember ✭✭

    Hello. I updated my previous bug, it seems there's an exception with a button inside ListView using observablecollection as an itemssource.

    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Java.Lang.NoSuchMethodError: no method with name='setStateListAnimator'

    https://bugzilla.xamarin.com/show_bug.cgi?id=55198

  • DavidOrtinauDavidOrtinau USForum Administrator, Xamarin Team, Insider, University Xamurai

    @JoeManke said:
    Bug submitted: https://bugzilla.xamarin.com/show_bug.cgi?id=55347

    (I kind of accidentally made it private and cannot change that, sorry to anyone who doesn't work for Xamarin.)

    Thanks. I've made it public again.

  • DavidOrtinauDavidOrtinau USForum Administrator, Xamarin Team, Insider, University Xamurai

    Thx Sami. I'm sure @JamesMontemagno will look at it when he's able. If you haven't already, make sure you can reproduce it in a new solution and supply that in a zip on the issue. That's a huge help.

  • predalphapredalpha FRMember ✭✭

    On UWP, ImageSource.FromResource(Source) doesnt work anymore for me.
    I like the update of the backgroundcolor for entry but cant use it since i need the FromResource.

  • ToddKneibToddKneib USMember

    @DavidOrtinau , on the macOS, Once I have installed Xamarin.Mac, can I create a solution that I can share between Xamarin.Mac and vs2015/17 on my pc? Obviously I would not be able to compile the Mac part, but I could work on all the shared code from my pc laptop. Thx

  • ThomasBurkhartThomasBurkhart DEMember ✭✭✭✭

    I just got

    InspectorDebugSession(3): HandleTargetEvent: UnhandledException
    InspectorDebugSession(3): Disposed
    04-20 08:46:52.821 I/MonoDroid( 4008): UNHANDLED EXCEPTION:
    04-20 08:46:52.833 I/MonoDroid( 4008): System.ObjectDisposedException: Cannot access a disposed object.
    04-20 08:46:52.833 I/MonoDroid( 4008): Object name: 'Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer'.
    04-20 08:46:52.833 I/MonoDroid( 4008): at Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) [0x00030] in /Users/builder/data/lanes/4468/b16fb820/source/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.cs:153
    04-20 08:46:52.833 I/MonoDroid( 4008): at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x00002] in /Users/builder/data/lanes/4468/b16fb820/source/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.JniInstanceMethods_Invoke.cs:21
    04-20 08:46:52.833 I/MonoDroid( 4008): at Android.Widget.ImageView.SetImageBitmap (Android.Graphics.Bitmap bm) [0x0002c] in /Users/builder/data/lanes/4468/b16fb820/source/monodroid/src/Mono.Android/platforms/android-25/src/generated/Android.Widget.ImageView.cs:1026
    04-20 08:46:52.833 I/MonoDroid( 4008): at Xamarin.Forms.Platform.Android.ImageViewExtensions+d__0.MoveNext () [0x00011] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\MasterDetailPageRenderer.cs:245
    04-20 08:46:52.833 I/MonoDroid( 4008): --- End of stack trace from previous location where exception was thrown ---
    04-20 08:46:52.833 I/MonoDroid( 4008): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
    04-20 08:46:52.833 I/MonoDroid( 4008): at System.Runtime.CompilerServices.AsyncMethodBuilderCore.m__0 (System.Object state) [0x00000] in /Users/builder/data/lanes/4468/f913a78a/source/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1018
    04-20 08:46:52.833 I/MonoDroid( 4008): at Android.App.SyncContext+c__AnonStorey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/4468/b16fb820/source/xamarin-android/src/Mono.Android/Android.App/SyncContext.cs:35
    04-20 08:46:52.833 I/MonoDroid( 4008): at Java.Lang.Thread+RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/4468/b16fb820/source/xamarin-android/src/Mono.Android/Java.Lang/Thread.cs:36
    04-20 08:46:52.833 I/MonoDroid( 4008): at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in /Users/builder/data/lanes/4468/b16fb820/source/monodroid/src/Mono.Android/platforms/android-25/src/generated/Java.Lang.IRunnable.cs:81
    04-20 08:46:52.833 I/MonoDroid( 4008): at (wrapper dynamic-method) System.Object:6a1c2f71-fac2-4482-b85a-12ccba7dcba5 (intptr,intptr)
    04-20 08:46:52.841 W/art ( 4008): JNI RegisterNativeMethods: attempt to register 0 native methods for android.runtime.JavaProxyThrowable

    When suspending my App with the Backbutton and resume it from TaskManager. It does not occur when resume via the HomeButton.

  • RaphaelSchindlerRaphaelSchindler USMember ✭✭✭

    Hey @DavidOrtinau could you look at Bug 32144 and maybe propose a fix? That report is from 2015^^ Shouldn't be hard to fix.

    Thanks :smile:

  • BradChase.2654BradChase.2654 USMember ✭✭✭

    @ThomasBurkhart I am getting the same issues with the other fast renderers. The problem is they are not checking the disposed field before doing work on them. I have a fix but its in my custom branch and I will try to get it PR'd this weekend. I have been working weekends on rebuilding the Grid as it is measuring way too many times.

    Also there are other issues with the hint's again as I presume the fast renderers started before the code fix was in for them. I have those fixes as well.

  • ThomasBurkhartThomasBurkhart DEMember ✭✭✭✭

    Great!

  • ThomasBurkhartThomasBurkhart DEMember ✭✭✭✭

    anyone working on this https://bugzilla.xamarin.com/show_bug.cgi?id=53359 ?
    It's still not fixed and it's really bad for our current App

  • BradChase.2654BradChase.2654 USMember ✭✭✭
    edited April 21

    In iOS are PhoneMasterDetailPageRenderers not working for anyone else when inherited? I cant get my exportrenderer to work any longer, it is never created.

    It was working just fine on 2.3.4 but not on this release.

    EDIT: It works fine in the simulator but not on the actual devices

    EDIT: Disreguard, stupid me found an old renderer still tagged from when we upgraded to this version. DOHH!

  • ThomasBurkhartThomasBurkhart DEMember ✭✭✭✭

    @BradChase.2654 LInker problem?

  • BradChase.2654BradChase.2654 USMember ✭✭✭
    edited April 21

    @ThomasBurkhart haha thats what I thought initially too! No I made a boo boo in cleaning up old renderers we didnt need after updating to this version for testing and I forgot the old masterdetails renderer :(.

    To be clear, the simulator found the new one and the iphone found the old one.

  • BjornBBjornB USMember ✭✭✭
    edited April 24

    Im also getting this when popping or removing pages, does not happen with normal renderers

    04-20 08:46:52.821 I/MonoDroid( 4008): UNHANDLED EXCEPTION:
    04-20 08:46:52.833 I/MonoDroid( 4008): System.ObjectDisposedException: Cannot access a disposed object.
    04-20 08:46:52.833 I/MonoDroid( 4008): Object name: 'Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer'.

  • BradChase.2654BradChase.2654 USMember ✭✭✭
    edited April 24

    @BjornB That is the same error @ThomasBurkhart is getting as well as me. I was hoping to find time this past weekend to work on it but I want to finish up the performance work I have been doing on the Grid control. I will try to find some time this week to fix it.

    EDIT: I can tell you what the fix is if you are running your own branch of Xamarin Forms...

  • DavidOrtinauDavidOrtinau USForum Administrator, Xamarin Team, Insider, University Xamurai

    @RaphaelSchindler said:
    Hey @DavidOrtinau could you look at Bug 32144 and maybe propose a fix? That report is from 2015^^ Shouldn't be hard to fix.

    Thanks :smile:

    It's the expected behavior according to the notes. Apart from Forms, it's what happens on iOS and I'm going to guess on Android when you assign null to a UIDatePicker and equivalent.

    Perhaps if you're using a binding, then have a value converter check for null and then you can provide your default.

  • DavidOrtinauDavidOrtinau USForum Administrator, Xamarin Team, Insider, University Xamurai

    @ToddKneib said:
    @DavidOrtinau , on the macOS, Once I have installed Xamarin.Mac, can I create a solution that I can share between Xamarin.Mac and vs2015/17 on my pc? Obviously I would not be able to compile the Mac part, but I could work on all the shared code from my pc laptop. Thx

    Hi Todd, I don't have my VS17 up and running at the moment, but I suspect the macOS project wouldn't be recognized and loaded. Of course and shared project or PCL is editable. macOS SDKs probably aren't going to be recognized. That said, you should be able to compile it because we build macOS in our CI running on Windows.

    Let us know what you've discovered and what other feedback you have. Thanks!

  • NMackayNMackay GBInsider, University ✭✭✭✭✭

    @DavidOrtinau

    Any change the team could look at this issue which has been outstanding since 1.4.4.

    Modal navigation is Android is a bit of a mess
    https://bugzilla.xamarin.com/show_bug.cgi?id=32830

Sign In or Register to comment.