-
Notifications
You must be signed in to change notification settings - Fork 0
Close fragment method doesn't work properly #146
Comments
While this is not cleared up, there's no reason to block the method from being overridden and properly handled on a case by case scenario. Had to implement a custom presenter just to go around this. |
@vvolkgang I was looking into this issue and saw you last comment. Can you elaborate on how you implemented the custom presenter? |
@Dexyon I am currently totally inactive in MvvmCross/Xamarin community due to some private issues and I cannot help you right now. I should be probably back in ~week? I will have to work on that cause personally Android fragments drives me crazy |
@thefex Sorry to hear. I will start working on this issue as well. Just gimme a heads-up when you want to join! |
@Dexyon the custom presenter would external the MvxFragPres and override
Álison Fernandes |
I've improved this a bit in the last release, but it is more a workaround then a final fix. |
Close Fragment method is not implemented and won't work correctly until we change .Close method signature in main MvvmCross library.
Reason:
We need to pass custom information so we can differentiate ViewModel instances. If same Activity uses several Fragments with same ViewModel we do not know which instance of Fragment we should close.
The text was updated successfully, but these errors were encountered: