{"action":"opened","issue":{"url":"https://api.github.com/repos/MvvmCross/MvvmCross-AndroidSupport/issues/77","labels_url":"https://api.github.com/repos/MvvmCross/MvvmCross-AndroidSupport/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/MvvmCross/MvvmCross-AndroidSupport/issues/77/comments","events_url":"https://api.github.com/repos/MvvmCross/MvvmCross-AndroidSupport/issues/77/events","html_url":"https://github.com/MvvmCross/MvvmCross-AndroidSupport/issues/77","id":107804690,"number":77,"title":"Improve `MvxCachingFragmentActivity.RegisterFragment` to deal with Backstack and Transitions on the registry level","user":{"login":"vvolkgang","id":542036,"avatar_url":"https://avatars.githubusercontent.com/u/542036?v=3","gravatar_id":"","url":"https://api.github.com/users/vvolkgang","html_url":"https://github.com/vvolkgang","followers_url":"https://api.github.com/users/vvolkgang/followers","following_url":"https://api.github.com/users/vvolkgang/following{/other_user}","gists_url":"https://api.github.com/users/vvolkgang/gists{/gist_id}","starred_url":"https://api.github.com/users/vvolkgang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvolkgang/subscriptions","organizations_url":"https://api.github.com/users/vvolkgang/orgs","repos_url":"https://api.github.com/users/vvolkgang/repos","events_url":"https://api.github.com/users/vvolkgang/events{/privacy}","received_events_url":"https://api.github.com/users/vvolkgang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-22T21:17:10Z","updated_at":"2015-09-22T21:17:10Z","closed_at":null,"body":"Giving that one already needs to manually register the fragments, this mechanism can be improved to enable devs to set transitions and if that fragment should clear the backstack.\r\n\r\nThis information should be added to the `FragmentInfo` config file and then used in `ShowFragment`.\r\n\r\nRegarding the transitions, [following this implementation](https://github.com/steffkelsey/Xamarin_MvvmCross_MaterialDesign/blob/master/MvxMaterial.DroidFullFrag/MainActivity.cs#L110), we only need something like a `FragmentTransitionInfo` with nullable ints for all of the possible transitions, if set, they'll be inflated when a new fragment is created.\r\n\r\nThis will reduce the code complexity required to implement something like the `Home/MainActivity` with a drawer.\r\n"}}