{"action":"opened","issue":{"url":"https://api.github.com/repos/XamarinUniversity/XAM110/issues/1","repository_url":"https://api.github.com/repos/XamarinUniversity/XAM110","labels_url":"https://api.github.com/repos/XamarinUniversity/XAM110/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/XamarinUniversity/XAM110/issues/1/comments","events_url":"https://api.github.com/repos/XamarinUniversity/XAM110/issues/1/events","html_url":"https://github.com/XamarinUniversity/XAM110/issues/1","id":279120035,"number":1,"title":"Subject generator periodically creates subjects < 20 characters.","user":{"login":"markjulmar","id":5099741,"avatar_url":"https://avatars1.githubusercontent.com/u/5099741?v=4","gravatar_id":"","url":"https://api.github.com/users/markjulmar","html_url":"https://github.com/markjulmar","followers_url":"https://api.github.com/users/markjulmar/followers","following_url":"https://api.github.com/users/markjulmar/following{/other_user}","gists_url":"https://api.github.com/users/markjulmar/gists{/gist_id}","starred_url":"https://api.github.com/users/markjulmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markjulmar/subscriptions","organizations_url":"https://api.github.com/users/markjulmar/orgs","repos_url":"https://api.github.com/users/markjulmar/repos","events_url":"https://api.github.com/users/markjulmar/events{/privacy}","received_events_url":"https://api.github.com/users/markjulmar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-04T19:32:27Z","updated_at":"2017-12-04T19:32:27Z","closed_at":null,"author_association":"NONE","body":"Easy fix - either change the generator to always be a minimum of 20 characters, or change the following code into the `GetCell` method:\r\n\r\n*before*\r\n```\r\ncell.TextLabel.Text = item.Subject.Substring(0,20) + \"...\";\r\n```\r\n\r\n*after*\r\n```\r\ncell.TextLabel.Text = item.Subject.Substring(0,Math.Min(20,item.Subject.Length-1)) + \"...\";\r\n```"}}
{"actor":{"display_login":"markjulmar"}}