{"comment":{"url":"https://api.github.com/repos/Yu-Mogami/TwitterClientApp/comments/10863312","html_url":"https://github.com/Yu-Mogami/TwitterClientApp/commit/38541a1f4c5b08e22f0f9b4b65bb215e133c0824#commitcomment-10863312","id":10863312,"user":{"login":"noboru-i","id":1567757,"avatar_url":"https://avatars.githubusercontent.com/u/1567757?v=3","gravatar_id":"","url":"https://api.github.com/users/noboru-i","html_url":"https://github.com/noboru-i","followers_url":"https://api.github.com/users/noboru-i/followers","following_url":"https://api.github.com/users/noboru-i/following{/other_user}","gists_url":"https://api.github.com/users/noboru-i/gists{/gist_id}","starred_url":"https://api.github.com/users/noboru-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noboru-i/subscriptions","organizations_url":"https://api.github.com/users/noboru-i/orgs","repos_url":"https://api.github.com/users/noboru-i/repos","events_url":"https://api.github.com/users/noboru-i/events{/privacy}","received_events_url":"https://api.github.com/users/noboru-i/received_events","type":"User","site_admin":false},"position":24,"line":24,"path":"app/src/main/java/monstar_lab/twitterclientapp/MainActivity.java","commit_id":"38541a1f4c5b08e22f0f9b4b65bb215e133c0824","created_at":"2015-04-23T08:08:10Z","updated_at":"2015-04-23T08:08:10Z","body":"Activityにstaticな変数を持つのはあまりよろしくないかと。\r\nこのActivityのみに依存するのであれば、インスタンス変数にする、\r\nアプリケーション全体で利用するのであれば、Applicationクラスを作成してそこでstaticで宣言する、（ただし、）本当にApplicationで保持する必要があるかは要検討\r\nなどが妥当かと。"}}