{"action":"closed","issue":{"url":"https://api.github.com/repos/smarthityou/EPLife/issues/1","repository_url":"https://api.github.com/repos/smarthityou/EPLife","labels_url":"https://api.github.com/repos/smarthityou/EPLife/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/smarthityou/EPLife/issues/1/comments","events_url":"https://api.github.com/repos/smarthityou/EPLife/issues/1/events","html_url":"https://github.com/smarthityou/EPLife/issues/1","id":150504611,"number":1,"title":"针对单例的建议","user":{"login":"shangmingchao","id":5012586,"avatar_url":"https://avatars.githubusercontent.com/u/5012586?v=3","gravatar_id":"","url":"https://api.github.com/users/shangmingchao","html_url":"https://github.com/shangmingchao","followers_url":"https://api.github.com/users/shangmingchao/followers","following_url":"https://api.github.com/users/shangmingchao/following{/other_user}","gists_url":"https://api.github.com/users/shangmingchao/gists{/gist_id}","starred_url":"https://api.github.com/users/shangmingchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shangmingchao/subscriptions","organizations_url":"https://api.github.com/users/shangmingchao/orgs","repos_url":"https://api.github.com/users/shangmingchao/repos","events_url":"https://api.github.com/users/shangmingchao/events{/privacy}","received_events_url":"https://api.github.com/users/shangmingchao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-23T01:14:28Z","updated_at":"2016-04-23T04:42:29Z","closed_at":"2016-04-23T04:42:29Z","body":"单例类的构造器要private，静态实例最好加上volatile。此外，不建议把Fragment写成单例类，可以像Google推荐的一样写一个工厂方法。"}}