{"action":"created","issue":{"url":"https://api.github.com/repos/ncapdevi/FragNav/issues/74","repository_url":"https://api.github.com/repos/ncapdevi/FragNav","labels_url":"https://api.github.com/repos/ncapdevi/FragNav/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/ncapdevi/FragNav/issues/74/comments","events_url":"https://api.github.com/repos/ncapdevi/FragNav/issues/74/events","html_url":"https://github.com/ncapdevi/FragNav/issues/74","id":233715318,"number":74,"title":"Switching tabs uses enter/exit animations","user":{"login":"drewlarsen","id":2637780,"avatar_url":"https://avatars1.githubusercontent.com/u/2637780?v=3","gravatar_id":"","url":"https://api.github.com/users/drewlarsen","html_url":"https://github.com/drewlarsen","followers_url":"https://api.github.com/users/drewlarsen/followers","following_url":"https://api.github.com/users/drewlarsen/following{/other_user}","gists_url":"https://api.github.com/users/drewlarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/drewlarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewlarsen/subscriptions","organizations_url":"https://api.github.com/users/drewlarsen/orgs","repos_url":"https://api.github.com/users/drewlarsen/repos","events_url":"https://api.github.com/users/drewlarsen/events{/privacy}","received_events_url":"https://api.github.com/users/drewlarsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ncapdevi","id":933088,"avatar_url":"https://avatars0.githubusercontent.com/u/933088?v=3","gravatar_id":"","url":"https://api.github.com/users/ncapdevi","html_url":"https://github.com/ncapdevi","followers_url":"https://api.github.com/users/ncapdevi/followers","following_url":"https://api.github.com/users/ncapdevi/following{/other_user}","gists_url":"https://api.github.com/users/ncapdevi/gists{/gist_id}","starred_url":"https://api.github.com/users/ncapdevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncapdevi/subscriptions","organizations_url":"https://api.github.com/users/ncapdevi/orgs","repos_url":"https://api.github.com/users/ncapdevi/repos","events_url":"https://api.github.com/users/ncapdevi/events{/privacy}","received_events_url":"https://api.github.com/users/ncapdevi/received_events","type":"User","site_admin":false},"assignees":[{"login":"ncapdevi","id":933088,"avatar_url":"https://avatars0.githubusercontent.com/u/933088?v=3","gravatar_id":"","url":"https://api.github.com/users/ncapdevi","html_url":"https://github.com/ncapdevi","followers_url":"https://api.github.com/users/ncapdevi/followers","following_url":"https://api.github.com/users/ncapdevi/following{/other_user}","gists_url":"https://api.github.com/users/ncapdevi/gists{/gist_id}","starred_url":"https://api.github.com/users/ncapdevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncapdevi/subscriptions","organizations_url":"https://api.github.com/users/ncapdevi/orgs","repos_url":"https://api.github.com/users/ncapdevi/repos","events_url":"https://api.github.com/users/ncapdevi/events{/privacy}","received_events_url":"https://api.github.com/users/ncapdevi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-06-05T21:24:39Z","updated_at":"2017-06-07T18:24:18Z","closed_at":null,"body":"using the latest 2.0.2 release\r\n\r\nwhen the popEnter/popExit fix was added into 2.0.2, it looks like it introduced a new bug.\r\n\r\nWhen switching among tabs, fragment animations are now being used. When switching tabs, there should be no animations (this worked previously in 2.0.1).\r\n\r\nHere is my FragNav setup:\r\n\r\n```\r\n        mNavController = FragNavController.newBuilder(savedInstanceState, getSupportFragmentManager(), R.id.content_frame)\r\n                .transactionListener(this)\r\n                .defaultTransactionOptions(\r\n                        FragNavTransactionOptions\r\n                                .newBuilder()\r\n                                .customAnimations(\r\n                                        R.anim.slide_in_from_right,    // enterAnimation\r\n                                        R.anim.slide_out_to_left,      // exitAnimation\r\n                                        R.anim.slide_in_from_left,     // popEnterAnimation\r\n                                        R.anim.slide_out_to_right      // popExitAnimation\r\n                                )\r\n                                .build()\r\n                )\r\n                .rootFragmentListener(this, TabType.COUNT.toInteger())\r\n                .build();\r\n```\r\n\r\nNothing changed in my code between 2.0.1 and 2.0.2 except adding in the 4 customAnimations above."},"comment":{"url":"https://api.github.com/repos/ncapdevi/FragNav/issues/comments/306882861","html_url":"https://github.com/ncapdevi/FragNav/issues/74#issuecomment-306882861","issue_url":"https://api.github.com/repos/ncapdevi/FragNav/issues/74","id":306882861,"user":{"login":"ncapdevi","id":933088,"avatar_url":"https://avatars0.githubusercontent.com/u/933088?v=3","gravatar_id":"","url":"https://api.github.com/users/ncapdevi","html_url":"https://github.com/ncapdevi","followers_url":"https://api.github.com/users/ncapdevi/followers","following_url":"https://api.github.com/users/ncapdevi/following{/other_user}","gists_url":"https://api.github.com/users/ncapdevi/gists{/gist_id}","starred_url":"https://api.github.com/users/ncapdevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncapdevi/subscriptions","organizations_url":"https://api.github.com/users/ncapdevi/orgs","repos_url":"https://api.github.com/users/ncapdevi/repos","events_url":"https://api.github.com/users/ncapdevi/events{/privacy}","received_events_url":"https://api.github.com/users/ncapdevi/received_events","type":"User","site_admin":false},"created_at":"2017-06-07T18:24:18Z","updated_at":"2017-06-07T18:24:18Z","body":"Hey Drew, that's because the tab switching is using the default customAnimations, you can override this but using   ` public void switchTab(int index, @Nullable FragNavTransactionOptions transactionOptions)`  function and sending in whatever (or null) animations you want"}}
{"actor":{"display_login":"ncapdevi"}}