{"action":"created","issue":{"url":"https://api.github.com/repos/opacapp/multiline-collapsingtoolbar/issues/18","repository_url":"https://api.github.com/repos/opacapp/multiline-collapsingtoolbar","labels_url":"https://api.github.com/repos/opacapp/multiline-collapsingtoolbar/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/opacapp/multiline-collapsingtoolbar/issues/18/comments","events_url":"https://api.github.com/repos/opacapp/multiline-collapsingtoolbar/issues/18/events","html_url":"https://github.com/opacapp/multiline-collapsingtoolbar/issues/18","id":169948840,"number":18,"title":"How to set the Title by code","user":{"login":"tasosno1","id":9547308,"avatar_url":"https://avatars.githubusercontent.com/u/9547308?v=3","gravatar_id":"","url":"https://api.github.com/users/tasosno1","html_url":"https://github.com/tasosno1","followers_url":"https://api.github.com/users/tasosno1/followers","following_url":"https://api.github.com/users/tasosno1/following{/other_user}","gists_url":"https://api.github.com/users/tasosno1/gists{/gist_id}","starred_url":"https://api.github.com/users/tasosno1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tasosno1/subscriptions","organizations_url":"https://api.github.com/users/tasosno1/orgs","repos_url":"https://api.github.com/users/tasosno1/repos","events_url":"https://api.github.com/users/tasosno1/events{/privacy}","received_events_url":"https://api.github.com/users/tasosno1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-08T15:17:57Z","updated_at":"2016-08-08T16:13:16Z","closed_at":null,"body":"Hi, thank you for you library\r\n\r\nIm trying to set the Title by code using this method\r\n\r\n```\r\nfinal CollapsingToolbarLayout collapsingToolbarLayout = (CollapsingToolbarLayout) findViewById(R.id.toolbar_layout);\r\n        collapsingToolbarLayout.setTitle(title);\r\n```\r\n\r\nBut im getting this error\r\n\r\n`ClassCastException: net.opacapp.multilinecollapsingtoolbar.CollapsingToolbarLayout cannot be cast to android.support.design.widget.CollapsingToolbarLayout`\r\n\r\nI also tried `MultilineCollapsingToolbarLayout `but that doesnt work\r\n\r\nHow do  i access `multilinecollapsingtoolbar.CollapsingToolbarLayout ` to set the Title by code?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/opacapp/multiline-collapsingtoolbar/issues/comments/238287456","html_url":"https://github.com/opacapp/multiline-collapsingtoolbar/issues/18#issuecomment-238287456","issue_url":"https://api.github.com/repos/opacapp/multiline-collapsingtoolbar/issues/18","id":238287456,"user":{"login":"tasosno1","id":9547308,"avatar_url":"https://avatars.githubusercontent.com/u/9547308?v=3","gravatar_id":"","url":"https://api.github.com/users/tasosno1","html_url":"https://github.com/tasosno1","followers_url":"https://api.github.com/users/tasosno1/followers","following_url":"https://api.github.com/users/tasosno1/following{/other_user}","gists_url":"https://api.github.com/users/tasosno1/gists{/gist_id}","starred_url":"https://api.github.com/users/tasosno1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tasosno1/subscriptions","organizations_url":"https://api.github.com/users/tasosno1/orgs","repos_url":"https://api.github.com/users/tasosno1/repos","events_url":"https://api.github.com/users/tasosno1/events{/privacy}","received_events_url":"https://api.github.com/users/tasosno1/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T16:13:16Z","updated_at":"2016-08-08T16:13:16Z","body":"I didnt realize i had to `import net.opacapp.multilinecollapsingtoolbar.CollapsingToolbarLayout; `to make ti work\r\n\r\nall ok now"}}
{"actor":{"display_login":"tasosno1"}}