locked
ListView IsPullToRefreshEnabled not found RRS feed

  • Question

  • User174713 posted

    Hi!

    I try to implement "pull to refresh" in ListView. I just set property IsPullToRefreshEnabled = true, and got the following exception in my app:

    System.MissingMethodException: Method 'ListView.setIsPullToRefreshEnabled' not found. at Xamarin.Forms.Page.SendAppearing () [0x0001b] in :0 at Xamarin.Forms.Platform.iOS.PageRenderer.ViewDidAppear (Boolean animated) [0x00025] in :0 at at (wrapper managed-to-native) ObjCRuntime.Messaging:voidobjcmsgSendSuperbool (intptr,intptr,bool) at UIKit.UIViewController.ViewDidAppear (Boolean animated) [0x0002b] in /Users/builder/data/lanes/2356/3c0ec355/source/maccore/src/build/ios/native/UIKit/UIViewController.g.cs:1197 at Xamarin.Forms.Platform.iOS.TabbedRenderer.ViewDidAppear (Boolean animated) [0x00000] in :0 at at (wrapper managed-to-native) ObjCRuntime.Messaging:voidobjcmsgSendSuper_bool (intptr,intptr,bool) at UIKit.UIViewController.ViewDidAppear (Boolean animated) [0x0002b] in /Users/builder/data/lanes/2356/3c0ec355/source/maccore/src/build/ios/native/UIKit/UIViewController.g.cs:1197 at Xamarin.Forms.Platform.iOS.NavigationRenderer.ViewDidAppear (Boolean animated) [0x00000] in :0 at 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/2356/3c0ec355/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/2356/3c0ec355/source/maccore/src/UIKit/UIApplication.cs:61 at xt.iOS.Application.Main (System.String[] args) [0x00008] in /Users/admin/Projects/xt/iOS/Main.cs:17

    Are any ideas how to solve this?

    I use Xamarin forms 2.0.0.6482

    Thank you.

    Thursday, November 19, 2015 3:26 PM

Answers

  • User174713 posted

    It was my mistake. I did not update Xamarin.Forms package inside iOS project. Now it works.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, November 19, 2015 3:55 PM