{"action":"created","issue":{"url":"https://api.github.com/repos/vikramkakkar/SublimeNavigationView/issues/15","repository_url":"https://api.github.com/repos/vikramkakkar/SublimeNavigationView","labels_url":"https://api.github.com/repos/vikramkakkar/SublimeNavigationView/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/vikramkakkar/SublimeNavigationView/issues/15/comments","events_url":"https://api.github.com/repos/vikramkakkar/SublimeNavigationView/issues/15/events","html_url":"https://github.com/vikramkakkar/SublimeNavigationView/issues/15","id":161566588,"number":15,"title":"Show or hide navigationview","user":{"login":"gooodzilla","id":17135702,"avatar_url":"https://avatars.githubusercontent.com/u/17135702?v=3","gravatar_id":"","url":"https://api.github.com/users/gooodzilla","html_url":"https://github.com/gooodzilla","followers_url":"https://api.github.com/users/gooodzilla/followers","following_url":"https://api.github.com/users/gooodzilla/following{/other_user}","gists_url":"https://api.github.com/users/gooodzilla/gists{/gist_id}","starred_url":"https://api.github.com/users/gooodzilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gooodzilla/subscriptions","organizations_url":"https://api.github.com/users/gooodzilla/orgs","repos_url":"https://api.github.com/users/gooodzilla/repos","events_url":"https://api.github.com/users/gooodzilla/events{/privacy}","received_events_url":"https://api.github.com/users/gooodzilla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-21T23:59:40Z","updated_at":"2016-06-22T14:01:53Z","closed_at":null,"body":"What method shows navigation view and what do it close? "},"comment":{"url":"https://api.github.com/repos/vikramkakkar/SublimeNavigationView/issues/comments/227752931","html_url":"https://github.com/vikramkakkar/SublimeNavigationView/issues/15#issuecomment-227752931","issue_url":"https://api.github.com/repos/vikramkakkar/SublimeNavigationView/issues/15","id":227752931,"user":{"login":"vikramkakkar","id":4239472,"avatar_url":"https://avatars.githubusercontent.com/u/4239472?v=3","gravatar_id":"","url":"https://api.github.com/users/vikramkakkar","html_url":"https://github.com/vikramkakkar","followers_url":"https://api.github.com/users/vikramkakkar/followers","following_url":"https://api.github.com/users/vikramkakkar/following{/other_user}","gists_url":"https://api.github.com/users/vikramkakkar/gists{/gist_id}","starred_url":"https://api.github.com/users/vikramkakkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikramkakkar/subscriptions","organizations_url":"https://api.github.com/users/vikramkakkar/orgs","repos_url":"https://api.github.com/users/vikramkakkar/repos","events_url":"https://api.github.com/users/vikramkakkar/events{/privacy}","received_events_url":"https://api.github.com/users/vikramkakkar/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T14:01:53Z","updated_at":"2016-06-22T14:01:53Z","body":"> ... how to change name on nav_header programmatically\r\n\r\nVerify if the `TextView` _is_ indeed a part of your view hierarchy. You can do this in a few different ways. Easiest would be to comment the call to `setText(...)` and adding `android:text=\"TESTING\"` to your `TextView's` xml definition. \r\n\r\nIf the text is shown in your nav header, you are calling `findViewById()` on the wrong `View`. If you're inside an `Activity`, `Activity#findViewById(int)` will not return null after `Activity#setContentView(...)` has been called. If you are using a `View` to find the `TextView`, for instance `myView.findViewById(int)`, check if `myView` is a parent/ancestor of the `TextView`. \r\n\r\nPerhaps, the easiest way to get hold of the `TextView` is to grab the header view from `SublimeNavigationView` and calling `findViewById` on it:\r\n\r\n    TextView myTextView = (TextView) (mSublimeNavigationView.getHeaderView()).findViewById(R.id.my_text_view_id);\r\n\r\n    // set new text\r\n    myTextView.setText(\"....\");\r\n\r\nElse, show us your code and we might be able to spot the problem."}}
{"actor":{"display_login":"vikramkakkar"}}