{"action":"opened","issue":{"url":"https://api.github.com/repos/Marplex/Schoolbook/issues/1","repository_url":"https://api.github.com/repos/Marplex/Schoolbook","labels_url":"https://api.github.com/repos/Marplex/Schoolbook/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Marplex/Schoolbook/issues/1/comments","events_url":"https://api.github.com/repos/Marplex/Schoolbook/issues/1/events","html_url":"https://github.com/Marplex/Schoolbook/issues/1","id":131674883,"number":1,"title":"Fragment recall","user":{"login":"Marplex","id":13431546,"avatar_url":"https://avatars.githubusercontent.com/u/13431546?v=3","gravatar_id":"","url":"https://api.github.com/users/Marplex","html_url":"https://github.com/Marplex","followers_url":"https://api.github.com/users/Marplex/followers","following_url":"https://api.github.com/users/Marplex/following{/other_user}","gists_url":"https://api.github.com/users/Marplex/gists{/gist_id}","starred_url":"https://api.github.com/users/Marplex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marplex/subscriptions","organizations_url":"https://api.github.com/users/Marplex/orgs","repos_url":"https://api.github.com/users/Marplex/repos","events_url":"https://api.github.com/users/Marplex/events{/privacy}","received_events_url":"https://api.github.com/users/Marplex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-05T15:41:28Z","updated_at":"2016-02-05T15:41:28Z","closed_at":null,"body":"When I'm attempting to recall fragment from NavigationView, Viewpager doesn't call main fragment onCreateView() methods.\r\n\r\n`navigationView.setNavigationItemSelectedListener(\r\n                new NavigationView.OnNavigationItemSelectedListener() {\r\n                    @Override\r\n                    public boolean onNavigationItemSelected(MenuItem menuItem) {\r\n                        if (menuItem.isChecked()) menuItem.setChecked(false);\r\n                        else menuItem.setChecked(true);\r\n                        drawer.closeDrawers();\r\n                        switch (menuItem.getItemId()) {\r\n                            case R.id.dashboard:\r\n                                FragmentTransaction dashboardTransaction = getSupportFragmentManager().beginTransaction();\r\n                                Dashboard dashboard = new Dashboard();\r\n                                dashboardTransaction.replace(R.id.frame, dashboard);\r\n                                dashboardTransaction.commit();\r\n\r\n                                getSupportActionBar().setTitle(\"Dashboard\");\r\n                                menuItem.setChecked(true);\r\n                                return true;\r\n                            case R.id.voti:\r\n                                FragmentTransaction votiTransaction = getSupportFragmentManager().beginTransaction();\r\n                                Voti voti = new Voti();\r\n                                votiTransaction.replace(R.id.frame, voti);\r\n                                votiTransaction.commit();\r\n\r\n                                getSupportActionBar().setTitle(\"Voti\");\r\n                                menuItem.setChecked(true);\r\n                                return true;\r\n                            case R.id.verifiche:\r\n                                break;\r\n                            case R.id.circolari:\r\n                                break;\r\n                            default:\r\n                                break;\r\n                        }\r\n                        drawer.closeDrawers();\r\n                        return false;\r\n                    }\r\n                });`"}}