{"id":145,"date":"2018-11-17T00:00:37","date_gmt":"2018-11-16T15:00:37","guid":{"rendered":"https:\/\/dalomo.net\/blog\/?p=145"},"modified":"2018-11-17T00:13:58","modified_gmt":"2018-11-16T15:13:58","slug":"androidstudio%e3%81%a7%e3%83%aa%e3%83%90%e3%83%bc%e3%82%b7%e3%81%a7%e3%81%8d%e3%81%9f","status":"publish","type":"post","link":"https:\/\/dalomo.net\/blog\/2018\/11\/17\/145\/","title":{"rendered":"AndroidStudio\u3067\u30ea\u30d0\u30fc\u30b7\u3067\u304d\u305f"},"content":{"rendered":"<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2018\/11\/Screenshot_20181116-234050.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-147 aligncenter\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2018\/11\/Screenshot_20181116-234050-145x300.jpg\" alt=\"\" width=\"145\" height=\"300\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2018\/11\/Screenshot_20181116-234050-145x300.jpg 145w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2018\/11\/Screenshot_20181116-234050-768x1593.jpg 768w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2018\/11\/Screenshot_20181116-234050-494x1024.jpg 494w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2018\/11\/Screenshot_20181116-234050.jpg 1080w\" sizes=\"auto, (max-width: 145px) 100vw, 145px\" \/><\/a><\/p>\n<h2>\u57fa\u672c\u306f\u3067\u304d\u305f<\/h2>\n<p>\u61f8\u5ff5\u3057\u3066\u3044\u305f\u76e4\u7aef\u306b\u304b\u304b\u3063\u305f\u6642\u306e\u30a8\u30e9\u30fc\u3082\u89e3\u6d88\u3055\u308c\u57fa\u672c\u7684\u306a\u90e8\u5206\u306f\u5b8c\u6210\u3057\u305f\u3068\u601d\u3046\u3002<\/p>\n<ul>\n<li>\u52d5\u3044\u3066\u308b\u3068\u3053<\/li>\n<\/ul>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/XWvrcadRp5s\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<ul>\n<li>apk\u30d5\u30a1\u30a4\u30eb<\/li>\n<\/ul>\n<p><a href=\"https:\/\/apk.dalomo.net\/Reversi.apk\">https:\/\/apk.dalomo.net\/Reversi.apk<\/a><\/p>\n<ul>\n<li>\u30bd\u30fc\u30b9<\/li>\n<\/ul>\n<p><a href=\"https:\/\/dalomo.net\/blog\/2018\/11\/17\/149\/\">https:\/\/dalomo.net\/blog\/2018\/11\/17\/149\/<\/a><\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/2018\/11\/17\/151\/\">https:\/\/dalomo.net\/blog\/2018\/11\/17\/151\/<\/a><\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/2018\/11\/17\/153\/\">https:\/\/dalomo.net\/blog\/2018\/11\/17\/153\/<\/a><\/p>\n<h3>\u30a8\u30e9\u30fc\u306e\u539f\u56e0<\/h3>\n<p>\u30c7\u30d0\u30c3\u30b0\u3067\u30b9\u30c6\u30c3\u30d7\u30a4\u30f3\u3057\u3066\u8abf\u3079\u3066\u3044\u3063\u305f\u3089\u3001\u3084\u3063\u3071\u308a\u76e4\u5916\u306eTextView\u3092\u53d6\u5f97\u3057\u3088\u3046\u3068\u3057\u3066\u843d\u3061\u3066\u305f\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u53d6\u5f97\u3067\u304d\u306a\u304b\u3063\u305f\u6642\u306e\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u3066\u3042\u3052\u308b\u3002<\/p>\n<h4 id=\"findViewWithTag(java.lang.Object)\" class=\"api-name\">findViewWithTag\u3067\u53d6\u5f97\u3067\u304d\u306a\u3044\u6642\u306e\u623b\u308a\u5024<\/h4>\n<pre>if(tv == null) return;<\/pre>\n<p>\u306fnull\u3067\u3059!8\u65b9\u5411\u5168\u3066\u306e\u95a2\u6570\u306b\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u305f\u3002\u305d\u3057\u305f\u3089\u7121\u4e8b\u3001\u7aef\u306e\u884c\u5217\u3067\u3082\u30a8\u30e9\u30fc\u306f\u767a\u751f\u305b\u305a\u3001\u3061\u3083\u3093\u3068\u52d5\u3044\u3066\u304f\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u304c\u6709\u540d\u306a\u300c\u306c\u308b\u307d\u300d\u306enull\u304b\u30fc\u3002\u30ac\u30c3!\u30ac\u30c3!<\/p>\n<h3>\u6a5f\u80fd\u8ffd\u52a0\u3057\u305f\u3044<\/h3>\n<p>\u3067\u304d\u305f\u306f\u3067\u304d\u305f\u306e\u3060\u3051\u3069\u3001\u3053\u308c\u3067\u904a\u3076\u306b\u306f\u3061\u3087\u3063\u3068\u7269\u8db3\u308a\u306a\u3055\u304c\u6b8b\u308b\u3002\u3053\u3093\u306a\u6a5f\u80fd\u304c\u3064\u3044\u3066\u305f\u3089\u3044\u3044\u306a\u3001\u3068\u3044\u3046\u306e\u304c\u7d50\u69cb\u3042\u308b\u306e\u3067\u66f8\u3044\u3066\u307f\u308b\u3002\u5927\u4f53\u306e\u30ea\u30d0\u30fc\u30b7\u306b\u306f\u4ed8\u3044\u3066\u308b\u3093\u3060\u308d\u3046\u3051\u3069\u306d\u3002<\/p>\n<h4>\u7740\u624b\u306e\u53ef\u5426<\/h4>\n<p>\u4e00\u4eba\u3067\u4e8c\u5f79\u306e\u30b2\u30fc\u30e0\u3092\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u624b\u756a\u304c\u3053\u3093\u304c\u3089\u304c\u3063\u3066\u8aa4\u30bf\u30c3\u30d7\u3057\u305f\u308a\u3059\u308b\u3002\u306a\u306e\u3067\u7740\u624b\u3067\u304d\u306a\u3044\u6240\u3092\u30bf\u30c3\u30d7\u3057\u305f\u6642\u3001\u300c\u305d\u3053\u306b\u7f6e\u3051\u307e\u305b\u3093\u300d\u3092\u51fa\u3057\u305f\u3044\u3002\u3082\u3057\u304f\u306f\u3001\u300c\u73fe\u72b6\u3067\u77f3\u304c\u7f6e\u3051\u308b\u5834\u6240\u300d\u3092\u4f55\u3089\u304b\u306e\u65b9\u6cd5\u3067\u8868\u73fe\u3057\u305f\u3044\u3002<\/p>\n<h4>\u624b\u756a\u306e\u8868\u793a<\/h4>\n<p>\u4e0a\u8a18\u306b\u95a2\u9023\u3057\u3066\u308b\u3051\u3069\u3001\u3042\u308c?\u4eca\u3069\u3063\u3061\u3060\u3063\u3051?\u3063\u3066\u3088\u304f\u8003\u3048\u308b\u3002\u306a\u306e\u3067\u3001\u73fe\u5728\u306e\u624b\u756a\u3092\u8868\u793a\u3055\u305b\u3066\u304a\u304d\u305f\u3044\u3002PlayerTurn\u3092\u5909\u6570\u3067\u8a2d\u5b9a\u3057\u3066\u305f\u306e\u3067\u3001\u7c21\u5358\u306a\u306f\u305a\u3002<\/p>\n<h4>\u73fe\u5728\u306e\u77f3\u6570\u306e\u8868\u793a<\/h4>\n<p>\u4eca\u3069\u3063\u3061\u304c\u52dd\u3063\u3066\u3093\u3060\u304b\u304c\u5168\u7136\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3053\u308c\u3082\u8868\u793a\u3055\u305b\u305f\u3044\u3002\u3042\u3068\u30b2\u30fc\u30e0\u7d42\u308f\u3063\u305f\u6642\u306b\u624b\u4f5c\u696d\u3067\u77f3\u6570\u3048\u308b\u306e\u304c\u3081\u3093\u3069\u3044\u3002\u7d42\u308f\u3063\u305f\u3089\u6574\u5730\u3068\u304b\u3067\u304d\u308b\u3068\u304b\u3063\u3053\u3088\u3055\u305d\u3046\u3002\u4f5c\u308a\u65b9\u308f\u304b\u3089\u3093\u3051\u3069\u3002<\/p>\n<h4>\u52dd\u5229\u5224\u5b9a<\/h4>\n<p>\u305d\u3082\u305d\u3082\u3069\u3063\u3061\u304c\u52dd\u3063\u305f\u304b\u5224\u5b9a\u3059\u308a\u3083\u3044\u3044\u3093\u3060\u3088\u306a\u3002\u305f\u3060\u3001\u77f3\u304c\u7f6e\u3051\u306a\u304f\u306a\u3063\u305f\u3089\u3001\u306a\u306e\u304b\u3001\u76e4\u9762\u304c\u5168\u90e8\u57cb\u307e\u3063\u305f\u3089\u3001\u306a\u306e\u304b\u7f6e\u3044\u3066\u3042\u308b\u77f3\u304c\u5168\u90e8\u7247\u65b9\u306e\u8272\u306b\u306a\u3063\u305f\u3089\u3001\u306a\u306e\u304b\u3002\u305d\u306e\u5224\u5b9a\u304c\u96e3\u3057\u305d\u3046\u3002<\/p>\n<h4>\u30d1\u30b9\u6a5f\u80fd<\/h4>\n<p>\u7247\u65b9\u306f\u7f6e\u3051\u308b\u3051\u3069\u3001\u7247\u65b9\u306f\u7f6e\u3051\u306a\u3044\u3063\u3066\u72b6\u6cc1\u306f\u7d42\u76e4\u7d50\u69cb\u767a\u751f\u3059\u308b\u3002\u3060\u3051\u3069\u4eca\u306f\u3001\u305d\u3053\u3067\u7269\u7406\u7684\u306b\u30b2\u30fc\u30e0\u304c\u7d42\u308f\u3063\u3066\u3057\u307e\u3046\u3002\u672c\u5bb6\u30eb\u30fc\u30eb\u3060\u3068\u30d1\u30b9\u306f\u3044\u304f\u3089\u3067\u3082\u3057\u3066\u3044\u3044\u305d\u3046\u306a\u306e\u3067\u3001\u30d1\u30b9\u304c\u5b9f\u88c5\u3067\u304d\u308c\u3070\u3044\u3044\u306a\u3068\u3002\u4e0a\u8a18\u306e\u52dd\u5229\u5224\u5b9a\u3068\u7d61\u307f\u305d\u3046\u3060\u304b\u3089\u3084\u3063\u3071\u308a\u8ffd\u52a0\u3059\u308b\u306e\u96e3\u3057\u305d\u3046\u3060\u306a\u3002<\/p>\n<h4>\u6642\u9593\u7d4c\u904e<\/h4>\n<p>\u56f2\u7881\u30fb\u5c06\u68cb\u30fb\u30c1\u30a7\u30b9\u3063\u3066\u30c1\u30a7\u30b9\u30af\u30ed\u30c3\u30af\u65b9\u5f0f\u306e\u5bfe\u5c40\u6642\u8a08\u304c\u3042\u308b\u306e\u3067\u3001\u305d\u308c\u3082\u8868\u73fe\u3057\u305f\u3044\u3002\u306a\u3093\u304b\u304b\u3063\u3053\u3044\u3044\u3088\u306d\u3002\u3042\u3001\u3060\u3068\u8a2d\u5b9a\u753b\u9762\u3068\u304b\u3082\u4f5c\u3089\u306a\u304d\u3083\u306a\u306e\u304b\u306a\u3002\u305d\u3046\u3044\u3048\u3070\u6587\u5b57\u306e\u9006\u7acb\u3061\u3063\u3066\u3067\u304d\u308b\u306e\u304b\u306a\u3002\u96a3\u540c\u58eb\u3067\u4e00\u3064\u306e\u753b\u9762\u898b\u306a\u304c\u3089\u3044\u3061\u3083\u3044\u3061\u3083\u3059\u308b\u306e\u3082\u3044\u3044\u3051\u3069\u3001\u3084\u3063\u3071\u5411\u304b\u3044\u5408\u3063\u3066\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u306e\u304c\u3044\u3044\u3088\u306d\u3002<\/p>\n<h4>COM\u6226\u3092\u4f5c\u308a\u305f\u3044<\/h4>\n<p>\u4ffa\u306b\u306f\u7121\u7406\u3060\u2026\u3063\u3066\u601d\u3063\u3066\u305f\u3051\u3069\u3001\u4f8b\u3048\u3070\u77f3\u304c\u7f6e\u3051\u308b\u3068\u3053\u304c\u898b\u3064\u304b\u3063\u305f\u3089\u7f6e\u304f\u3002\u307f\u305f\u3044\u306a\u5358\u7d14\u306aCOM\u3060\u3063\u305f\u3089\u4ffa\u306b\u3082\u4f5c\u308c\u306a\u3044\u304b\u306a\u3002\u3061\u3087\u3063\u3068\u6b32\u304c\u51fa\u3066\u304d\u305f\u3002\u3067\u304d\u308b\u304b\u306a\u3002\u3069\u3046\u3060\u308d\u3002\u66f8\u304f\u3060\u3051\u306f\u30bf\u30c0\u3060\u3057\u3001\u66f8\u3044\u3068\u3053!<\/p>\n<h4>\u30b3\u30fc\u30c9\u6539\u5584<\/h4>\n<p>8\u65b9\u5411\u3078\u306e\u63a2\u67fb\u306e\u6240\u3001\u3084\u3063\u3071\u308a\u3082\u3046\u3061\u3087\u3063\u3068\u306a\u3093\u3068\u304b\u306a\u3093\u306a\u3044\u304b\u306a\u3068\u601d\u3046\u3002\u3068\u308a\u3042\u3048\u305a\u5b8c\u6210\u3055\u305b\u308b\u3053\u3068\u3092\u512a\u5148\u306b\u3057\u305f\u306e\u3067\u3001\u4f3c\u305f\u3088\u3046\u306a\u51e6\u7406\u304c\u3053\u3093\u3082\u308a\u3060\u3057\u3001\u3042\u305d\u3053\u306e\u90e8\u5206\u3060\u3051\u9577\u3044\u306e\u3067\u898b\u8f9b\u3044\u3057\u3002\u306a\u3093\u304b\u826f\u3044\u8003\u3048\u65b9\u898b\u3064\u304b\u3093\u306a\u3044\u304b\u306a\u30fc\u3002<\/p>\n<h3>\u308f\u304f\u308f\u304f<\/h3>\n<p>\u697d\u3057\u307f<\/p>\n<h3>\u53c2\u8003<\/h3>\n<p><a href=\"https:\/\/developer.android.com\/reference\/android\/view\/View.html#findViewWithTag(java.lang.Object)\">https:\/\/developer.android.com\/reference\/android\/view\/View.html#findViewWithTag(java.lang.Object)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u672c\u306f\u3067\u304d\u305f \u61f8\u5ff5\u3057\u3066\u3044\u305f\u76e4\u7aef\u306b\u304b\u304b\u3063\u305f\u6642\u306e\u30a8\u30e9\u30fc\u3082\u89e3\u6d88\u3055\u308c\u57fa\u672c\u7684\u306a\u90e8\u5206\u306f\u5b8c\u6210\u3057\u305f\u3068\u601d\u3046\u3002 \u52d5\u3044\u3066\u308b\u3068\u3053 apk\u30d5\u30a1\u30a4\u30eb https:\/\/apk.dalomo.net\/Reversi.apk \u30bd\u30fc\u30b9 https:\/\/da &hellip; <a href=\"https:\/\/dalomo.net\/blog\/2018\/11\/17\/145\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":147,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[2],"tags":[3,6,4,13],"class_list":["post-145","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-2","tag-android","tag-androidstudio","tag-4","tag-13"],"_links":{"self":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":5,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/145\/revisions"}],"predecessor-version":[{"id":157,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/145\/revisions\/157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media\/147"}],"wp:attachment":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media?parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/categories?post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/tags?post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}