Comments (9)
+1 Anyone??
from slideoverkit.
Would you please give us some sample to reproduce that?
Or you can use try-catch should fix that.
from slideoverkit.
I can try to build a sample.
But where are we supposed to put a try catch? The call that is crashing isn't caused my my code.
from slideoverkit.
Ok, please give us a sample code, it will help a lot
from slideoverkit.
I have the same problem. Any solution?
from slideoverkit.
Having the same problem :(
from slideoverkit.
I think i figured the problem. Posted here https://forums.xamarin.com/discussion/85562/slideoverkit-cannot-access-a-disposed-object#latest
from slideoverkit.
I have tried to create a sample, but I can't repro the issue. Of course it doesn't happen to me all that often in our app either. But it is our number one crash in Xamarin Insights.
Chasakis, thanks for the comment but I don't think that is the issue that I'm seeing.
The crash that I am seeing happens when the menu is being closed, after an item is clicked on (and only when that item is Logout, which destroys the page the menu is on)
There is only one messaging center subscription, a global one, which is called on the click. We don't use a subscription to show the menu. And putting a try/except around the show won't do anything, as none of our code is on the stack any longer.
I am guessing that the _backgroundOverlay has been disposed when we trying to remove it from the view. I don't know if it is a timing issue or what the problem is
from slideoverkit.
Did anyone manage to tackle this? I'm also getting this error in this scenario:
- Current App.MainPage has a slide menu on it (through the interface)
- Item in slide menu swaps out the App.MainPage for another page with a slide menu (also through the interface)
This is causing the Object is disposed error on the following function in the renderer (on _pageRenderer
):
void HideBackgroundOverlay()
{
if (_backgroundOverlay != null)
{
_pageRenderer.RemoveView(_backgroundOverlay);
_backgroundOverlay.Dispose();
_backgroundOverlay = null;
}
}
from slideoverkit.
Related Issues (20)
- AnimationDurationMillisecond not working on Android HOT 1
- Android: Right to Left menu does not animate first time HOT 2
- iOS: Right Menu doesn't show items HOT 2
- Displays blue screen with Shell HOT 1
- Please set SildeMenuView WidthRequest HOT 1
- Fetch Web Service Data
- CarouselPage into Slide
- Right to Left slide menu not opening after DsiplayAlert HOT 2
- Is this project maintaned? HOT 2
- [iOS] Issue with tabbed page and bottom bar
- XAML duplicate sliders oddity? How to call via XAML? HOT 1
- Keyboard overlap entry android
- [iOS] SlidePopupView - ListView content not displayed HOT 1
- Xamarin.mac support
- Mvvm
- [iOS] Label not showing
- The Action delegates ShowMenuAction / HideMenuAction are null HOT 3
- When an AlertDialog is presented, the "SlideMenuView" is not show when in "this.IsFullScreen = true;" mode.
- is there a way to show two SlideMenuView in same MenuContainerPage with two diferent buttons? HOT 1
- InnerMenu Sample not working on IOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slideoverkit.