KeyboardOverlap: System.ObjectDisposedException has been thrown.
See original GitHub issueThe exception message is: Cannot access a disposed object. Object name: 'KeyboardOverlapRenderer'
Call stack: UIKit.UIApplication.UIApplicationMain() in UIKit.UIApplication.Main(string[] args, System.IntPtr principal, System.IntPtr delegate) in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.0.0.15/src/Xamarin.iOS/UIKit/UIApplication.cs:79 UIKit.UIApplication.Main(string[] args, string principalClassName, string delegateClassName) in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.0.0.15/src/Xamarin.iOS/UIKit/UIApplication.cs:63 iOS.Application.Main(string[] args) in …/Main.cs:17
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:7
Top Results From Across the Web
c# - System.ObjectDisposedException
ObjectDisposedException is: The exception that is thrown when an operation is performed on a disposed object. (source).
Read more >ObjectDisposedException Class (System)
The exception that is thrown when an operation is performed on a disposed object. ... or IAsyncDisposable interface, and that object has been...
Read more >System.ObjectDisposedException Class
The following example throws a ObjectDisposedException instance created using this constructor. ... Caught: Oh-oh! This object has been disposed! Object name: " ...
Read more >Xamarin.Forms — Xamarin Community Forums
We have been using Prism in our Xamarin.Forms project. ... System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Android.Views.
Read more >System.ObjectDisposedException thrown by ...
ObjectDisposedException : The collection has been disposed. Object name: 'BlockingCollection'. at System.Collections.Concurrent.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
“Solution” ?
Hello, In my case it happens when I close the session with
masterdetailpage
, to solve it we have to close the menu withIsPresented
and leave a waitingtime
to perform the navigation.Example with PRISM MVVM and MessagingCenter.
MasterPageViewModel.cs (Method)
MasterPage.xaml.cs
Sorry my English (Google translator).
I confirmed that stivenbr’s solution worked for me. I’m build an app using the Prism framework. So my changes went into one file, the view model class.
MasterDetailPageViewModel.cs