{"action":"opened","issue":{"url":"https://api.github.com/repos/lawloretienne/ImageGallery/issues/35","repository_url":"https://api.github.com/repos/lawloretienne/ImageGallery","labels_url":"https://api.github.com/repos/lawloretienne/ImageGallery/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/lawloretienne/ImageGallery/issues/35/comments","events_url":"https://api.github.com/repos/lawloretienne/ImageGallery/issues/35/events","html_url":"https://github.com/lawloretienne/ImageGallery/issues/35","id":321485102,"number":35,"title":"Toolbar hiding fragment","user":{"login":"DerkSchooltink","id":22047701,"avatar_url":"https://avatars1.githubusercontent.com/u/22047701?v=4","gravatar_id":"","url":"https://api.github.com/users/DerkSchooltink","html_url":"https://github.com/DerkSchooltink","followers_url":"https://api.github.com/users/DerkSchooltink/followers","following_url":"https://api.github.com/users/DerkSchooltink/following{/other_user}","gists_url":"https://api.github.com/users/DerkSchooltink/gists{/gist_id}","starred_url":"https://api.github.com/users/DerkSchooltink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerkSchooltink/subscriptions","organizations_url":"https://api.github.com/users/DerkSchooltink/orgs","repos_url":"https://api.github.com/users/DerkSchooltink/repos","events_url":"https://api.github.com/users/DerkSchooltink/events{/privacy}","received_events_url":"https://api.github.com/users/DerkSchooltink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-09T08:53:13Z","updated_at":"2018-05-09T08:53:13Z","closed_at":null,"author_association":"NONE","body":"I was wondering if it's at all possible to hide the toolbar of the fragment activity in code. I could write my own implementation of the xml layout of the fragment, but that requires a lot of work.\r\n\r\nThis is how I'm currently starting the fragment:\r\n\r\n`private fun imageGalleryInitializer(): ImageGalleryFragment {\r\n            val fragment = ImageGalleryFragment()\r\n            val images = ...\r\n\r\n            val bundle = Bundle().apply {\r\n                putStringArrayList(ImageGalleryFragment.KEY_IMAGES, ArrayList(images))\r\n                putString(ImageGalleryFragment.KEY_TITLE, \"Unsplash Images\")\r\n            }\r\n\r\n            fragment.arguments = bundle\r\n\r\n            return fragment\r\n        }`\r\n\r\nIf I could give as parameter in putString() some sort of value to hide the toolbar, that would be the ideal situation. Let me know if this is at all possible!"}}
{"actor":{"display_login":"DerkSchooltink"}}