{"published":"2011-05-13 19:27:15","type":"rich","categories":["Android","Java"],"blog_url":"https://shokai.hatenadiary.org/","version":"1.0","provider_url":"https://hatena.blog","height":"190","description":"\u753b\u9762\u4e0a\u306b\u3042\u308b\u30dc\u30bf\u30f3\u3092\u5168\u3066\u53d6\u5f97\u3057\u3066\u3001\u5168\u90e8onClickListener\u306b\u767b\u9332\u3057\u305f\u3044\u3002refrection\u3092\u4f7f\u3063\u3066\u3001R.id.\u306e\u4e2d\u8eab\u306estatic fields\u3092\u5168\u3066\u53d6\u5f97\u3057\u3066\u3001\u4e00\u3064\u305a\u3064findViewById\u3057\u305f\u3002 import java.lang.reflect.*; \u306a\u304athis\u304cimplements OnClickListener\u3055\u308c\u3066\u3044\u308b\u3002 public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); for(Field\u2026","url":"https://shokai.hatenadiary.org/entry/20110513/1305282435","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshokai.hatenadiary.org%2Fentry%2F20110513%2F1305282435\" title=\"view\u306b\u3042\u308b\u5168\u3066\u306e\u30dc\u30bf\u30f3\u3092\u64cd\u4f5c\u3059\u308b - \u6a4b\u672c\u8a73\u89e3\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u6a4b\u672c\u8a73\u89e3","title":"view\u306b\u3042\u308b\u5168\u3066\u306e\u30dc\u30bf\u30f3\u3092\u64cd\u4f5c\u3059\u308b","author_name":"shokai","provider_name":"Hatena Blog","width":"100%","author_url":"https://blog.hatena.ne.jp/shokai/"}