{"id":22838,"date":"2020-12-15T09:00:00","date_gmt":"2020-12-15T00:00:00","guid":{"rendered":"https:\/\/mole-kingdom.com\/wpbl\/?p=22838"},"modified":"2021-08-24T18:40:51","modified_gmt":"2021-08-24T09:40:51","slug":"%e5%9e%8b%e5%88%a4%e5%ae%9a%e3%81%a8%e3%82%ad%e3%83%a3%e3%82%b9%e3%83%88-kotlin","status":"publish","type":"post","link":"https:\/\/mole-kingdom.com\/wpbl\/2020\/12\/15\/22838.html","title":{"rendered":"\u578b\u5224\u5b9a\u3068\u30ad\u30e3\u30b9\u30c8 : kotlin"},"content":{"rendered":"<p class=\"outline02\"><a href=\"https:\/\/dogwood008.github.io\/kotlin-web-site-ja\/docs\/reference\/typecasts.html#unsafe-cast-operator\" rel=\"noopener\" target=\"_blank\">\u578b\u5224\u5b9a\u3068\u30ad\u30e3\u30b9\u30c8<\/a><\/p>\n<p><\/p>\n<p class=\"outline03\">is\u6f14\u7b97\u5b50\u3068!\u6f14\u7b97\u5b50\u306b\u3088\u308b\u578b\u5224\u5b9a<\/p>\n<p><span class=\"f_s kincha\">\u203b\u3053\u308cis\u6f14\u7b97\u5b50\u3068\u5426\u5b9a\u306e!\u6f14\u7b97\u5b50\u306e\u7d44\u307f\u5408\u308f\u305b\u3060\u304b\u3089\u3001\u3053\u3046\u3044\u3046\u8868\u73fe\u306e\u65b9\u304c\u6b63\u3057\u3044\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3051\u308c\u3069\u3082\u3001\u3069\u3046\u3060\u308d\u3046\u304b(\u00b4\uff65\u03c9\uff65\uff40)\uff1f<\/span><\/p>\n<p>is\u6f14\u7b97\u5b50\u307e\u305f\u306f\u305d\u306e\u5426\u5b9a\u5f62\u5f0f\u3067\u3042\u308b!is\u3092\u4f7f\u7528\u3057\u3066\u3001\u5b9f\u884c\u6642\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u7279\u5b9a\u306e\u578b\u306b\u6e96\u62e0\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059:<\/p>\n<pre class=\"brush: kotlin; title: ; notranslate\" title=\"\">\r\nif (obj is String) {\r\n  print(obj.length)\r\n}\r\n\r\nif (obj !is String) { \/\/ !(obj is String)\u3068\u540c\u3058\u3067\u3059\u3002\r\n  print(&quot;Not a String&quot;)\r\n}\r\nelse {\r\n  print(obj.length)\r\n}\r\n<\/pre>\n<hr width=\"90%\">\n<p class=\"outline03\">\u30b9\u30de\u30fc\u30c8\u30ad\u30e3\u30b9\u30c8<\/p>\n<p>Kotlin\u3067\u306f\u591a\u304f\u306e\u5834\u5408\u3001\u30ad\u30e3\u30b9\u30c8\u6f14\u7b97\u5b50\u3092\u660e\u793a\u7684\u306b\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u4e0d\u5909\u306e\u5024\u306b\u5bfe\u3059\u308bis\u6f14\u7b97\u5b50\u306e\u4f7f\u7528\u3092\u63a2\u77e5\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\uff08\u5b89\u5168\u306a\uff09\u30ad\u30e3\u30b9\u30c8\u3092\u81ea\u52d5\u7684\u306b\u633f\u5165\u3059\u308b\u304b\u3089\u3067\u3059:<\/p>\n<pre class=\"brush: kotlin; title: ; notranslate\" title=\"\">\r\nfun demo(x: Any) {\r\n  if (x is String) {\r\n    print(x.length) \/\/ x\u306f\u81ea\u52d5\u7684\u306bString\u306b\u30ad\u30e3\u30b9\u30c8\u3055\u308c\u307e\u3059\u3002\r\n  }\r\n}\r\n<\/pre>\n<p>\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u3001\u5426\u5b9a\u5224\u5b9a\u306e\u7d50\u679c\u304cReturn\u306b\u306a\u308b\u5834\u5408\u306b\u30ad\u30e3\u30b9\u30c8\u304c\u5b89\u5168\u306b\u306a\u308b\u3053\u3068(\u30ad\u30e3\u30b9\u30c8\u304c\u767a\u751f\u3057\u306a\u3044\u3053\u3068\uff1f)\u3092\u7406\u89e3\u3059\u308b\u307b\u3069\u306b\u8ce2\u3044\u3067\u3059:\u3000<span class=\"f_s kincha\">\u2190\u203b\u3044\u308d\u3093\u306a\u7ffb\u8a33\u30b5\u30a4\u30c8\u3092\u4f7f\u3063\u3066\u3082\u3044\u307e\u3044\u3061\u7ffb\u8a33\u3057\u304d\u308c\u306a\u304b\u3063\u305f\u306e\u3067\u3061\u3087\u3063\u3068\u8d85\u8a33(\u00b4\uff65\u03c9\uff65\uff40)\uff7c\uff84\uff9e\uff86\uff68<\/span><\/p>\n<pre class=\"brush: kotlin; title: ; notranslate\" title=\"\">\r\nif (x !is String) return\r\n  print(x.length) \/\/ x\u306f\u81ea\u52d5\u7684\u306bString\u306b\u30ad\u30e3\u30b9\u30c8\u3055\u308c\u307e\u3059\u3002\r\n<\/pre>\n<p>\u307e\u305f&&\u304a\u3088\u3073||\u6f14\u7b97\u5b50\u306e\u53f3\u5074\u3067\u3082:<\/p>\n<pre class=\"brush: kotlin; title: ; notranslate\" title=\"\">\r\n  \/\/ `||`\u306e\u53f3\u5074\u3067x\u306f\u81ea\u52d5\u7684\u306b\u6587\u5b57\u5217\u306b\u30ad\u30e3\u30b9\u30c8\u3055\u308c\u307e\u3059\u3002\u2026(1)(2)\r\n  if (x !is String || x.length == 0) return\r\n\r\n  \/\/ `&amp;&amp;`\u306e\u53f3\u5074\u3067x\u306f\u81ea\u52d5\u7684\u306b\u6587\u5b57\u5217\u306b\u30ad\u30e3\u30b9\u30c8\u3055\u308c\u307e\u3059\u3002\u2026(2)\r\n  \/\/ \u540c\u4e0a\r\n  if (x is String &amp;&amp; x.length &gt; 0)\r\n      print(x.length) \/\/ x\u306f\u81ea\u52d5\u7684\u306bString\u306b\u30ad\u30e3\u30b9\u30c8\u3055\u308c\u307e\u3059\u3002\r\n<\/pre>\n<p>  <span class=\"f_s kincha\">(1)\u539f\u6587\u306b\u5373\u3057\u3066\u7ffb\u8a33\u3057\u305f\u3051\u308c\u3069\u3082\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u306fis\u5224\u5b9a\u3067true(\u307e\u305f\u306f!is\u5224\u5b9a\u3067false)\u3067\u3001\u5f8c\u306e\u884c\u3067\u305d\u306e\u5909\u6570\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306b\u306e\u307f\u5373\u6642\u30ad\u30e3\u30b9\u30c8\u3059\u308b\u306e\u304b\u3001\u4f7f\u7528\u76f4\u524d\u3067\u30ad\u30e3\u30b9\u30c8\u3059\u308b\u306e\u304b\u3067\u3053\u3053\u306e\u6587\u8a00\u304c\u5909\u308f\u3063\u3066\u6765\u308b\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3002\u305d\u3046\u3044\u3046\u610f\u5473\u5408\u3044\u306b\u304a\u3044\u3066\u306f\u3044\u3064\u30ad\u30e3\u30b9\u30c8\u3055\u308c\u308b\u304b\u3068\u3044\u3046\u3053\u3068\u3092\u660e\u793a\u3057\u305f\u65b9\u304c\u3044\u3044\u306e\u3067\u306f\u306a\u304b\u308d\u3046\u304b\uff1f <\/span><br \/>\n<span class=\"f_s kincha\">(2)string\u3058\u3083\u306a\u304f\u3066String\u3060\u306a\u3002\u3053\u3053\u306e\u4e8c\u7b87\u6240\u3060\u3051string\u306b\u306a\u3063\u3066\u308b\u3002\u3069\u3046\u3067\u3082\u3044\u3044\u3051\u3069\uff57<\/span><\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u30b9\u30de\u30fc\u30c8\u30ad\u30e3\u30b9\u30c8\u306f\u3001when\u5f0f\u3068while\u30eb\u30fc\u30d7\u3067\u3082\u6a5f\u80fd\u3057\u307e\u3059\u3002:<\/p>\n<pre class=\"brush: kotlin; title: ; notranslate\" title=\"\">\r\nwhen (x) {\r\n  is Int -&gt; print(x + 1)\r\n  is String -&gt; print(x.length + 1)\r\n  is IntArray -&gt; print(x.sum())\r\n}\r\n<\/pre>\n<p>\u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u5224\u5b9a\u6642\u3068\u5b9f\u969b\u306e\u4f7f\u7528\u6642\u306e\u9593\u3067\u5909\u6570\u304c\u4e0d\u5909\u3067\u3042\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3067\u304d\u306a\u3044\u5834\u5408\u3001\u30b9\u30de\u30fc\u30c8\u30ad\u30e3\u30b9\u30c8\u306f\u6a5f\u80fd\u3057\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3088\u308a\u5177\u4f53\u7684\u306b\u306f\u3001\u30b9\u30de\u30fc\u30c8\u30ad\u30e3\u30b9\u30c8\u306f\u6b21\u306e\u30eb\u30fc\u30eb\u306b\u5f93\u3063\u3066\u9069\u7528\u3055\u308c\u307e\u3059\u3002:<\/p>\n<p><b>val\u30ed\u30fc\u30ab\u30eb\u5909\u6570<\/b> - \u5e38\u6642;<br \/>\n<b>val\u30d7\u30ed\u30d1\u30c6\u30a3<\/b> - \u30d7\u30ed\u30d1\u30c6\u30a3\u304cprivate\u307e\u305f\u306finternal\u3067\u3042\u308b\u5834\u5408\u3001\u307e\u305f\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u5ba3\u8a00\u3055\u308c\u3066\u3044\u308b\u306e\u3068\u540c\u3058\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u5224\u5b9a\u304c\u5b9f\u884c\u3055\u308c\u308b\u5834\u5408\u3002\u30b9\u30de\u30fc\u30c8\u30ad\u30e3\u30b9\u30c8\u306f\u3001open\u306e\u3064\u3044\u305f\u7d99\u627f\u53ef\u80fd\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u307e\u305f\u306f\u30ab\u30b9\u30bf\u30e0\u30b2\u30c3\u30bf\u30fc\u304c\u3042\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306f\u9069\u7528\u3055\u308c\u307e\u305b\u3093\u3002<br \/>\n<b>var\u30ed\u30fc\u30ab\u30eb\u5909\u6570<\/b> - \u5909\u6570\u304c\u5224\u5b9a\u6642\u3068\u5b9f\u969b\u306e\u4f7f\u7528\u6642\u306e\u9593\u3067\u5909\u66f4\u3055\u308c\u3066\u304a\u3089\u305a\u3001\u305d\u308c\u3092\u5909\u66f4\u3059\u308b\u30e9\u30e0\u30c0\u306b\u6355\u6349\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3002<br \/>\n<span class=\"f_s kincha\">\u203bKotlin\u306e\u30e9\u30e0\u30c0\u5f0f\u306f\u30e9\u30e0\u30c0\u5f0f\u306e\u4e2d\u304b\u3089\u3001\u5916\u5074\u306e\u5909\u6570\u306e\u5024\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u3053\u308c\u3092\u6355\u6349\u3067\u304d\u308b\u3068\u8868\u73fe\u3059\u308b\u6a21\u69d8\u3002\u307e\u3042\u8a70\u307e\u308b\u3068\u3053\u308d\u5909\u66f4\u3055\u308c\u306a\u3044\u9650\u308a\u3068\u3044\u3046\u3053\u3068\u3060\u308d\u3046\u304b\u3002<a href=\"https:\/\/maku77.github.io\/kotlin\/basic\/lambda.html\" rel=\"noopener\" target=\"_blank\">https:\/\/maku77.github.io\/kotlin\/basic\/lambda.html<\/a><\/span><br \/>\n<b>var\u30d7\u30ed\u30d1\u30c6\u30a3<\/b>- \u4e0d\u53ef\u3002(\u3053\u306evar\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u4ed6\u306e\u30b3\u30fc\u30c9\u306b\u3088\u3063\u3066\u3044\u3064\u3067\u3082\u5909\u66f4\u3055\u308c\u3046\u308b\u70ba\u3002)<\/p>\n<hr width=\"90%\">\n<p class=\"outline03\">\"\u30a2\u30f3\u30bb\u30fc\u30d5(\u5b89\u5168\u3067\u306f\u306a\u3044)\"\u30ad\u30e3\u30b9\u30c8\u6f14\u7b97\u5b50<\/p>\n<p>\u901a\u5e38\u3001\u30ad\u30e3\u30b9\u30c8\u304c\u4e0d\u53ef\u80fd\u306a\u5834\u5408\u3001\u30ad\u30e3\u30b9\u30c8\u6f14\u7b97\u5b50\u306f\u4f8b\u5916\u3092\u30b9\u30ed\u30fc\u3057\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u79c1\u305f\u3061\u306f\u305d\u308c\u3092\u30a2\u30f3\u30bb\u30fc\u30d5(\u5b89\u5168\u3067\u306f\u306a\u3044)\u3068\u547c\u3073\u307e\u3059\u3002 Kotlin\u3067\u306e\u5b89\u5168\u3067\u306f\u306a\u3044\u30ad\u30e3\u30b9\u30c8\u306f\u3001\u4e2d\u7f6e\u6f14\u7b97\u5b50 as\u306b\u3088\u3063\u3066\u884c\u308f\u308c\u307e\u3059\uff08\"\u6f14\u7b97\u5b50\u306e\u512a\u5148\u9806\u4f4d\"\u3092\u53c2\u7167\uff09\u3002:<\/p>\n<pre class=\"brush: kotlin; title: ; notranslate\" title=\"\">\r\nval x: String = y as String\r\n<\/pre>\n<p>\u3053\u306e\u578b\u306fnull\u8a31\u5bb9\u3067\u306f\u306a\u3044\u305f\u3081\u3001null\u3092String\u306b\u30ad\u30e3\u30b9\u30c8\u3067\u304d\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3064\u307e\u308a\u3001y\u304cnull\u306e\u5834\u5408\u3001\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306f\u4f8b\u5916\u3092\u30b9\u30ed\u30fc\u3057\u307e\u3059\u3002 Java\u30ad\u30e3\u30b9\u30c8\u306e\u30bb\u30de\u30f3\u30c6\u30a3\u30af\u30b9\u306b\u4e00\u81f4\u3055\u305b\u308b\u306b\u306f\u3001\u30ad\u30e3\u30b9\u30c8\u306e\u53f3\u5074\u306bnull\u8a31\u5bb9\u578b\u304c\u5fc5\u8981\u3067\u3059\u3002<br \/>\n<span class=\"f_s kincha\">\u203b\u30ad\u30e3\u30b9\u30c8\u306e\u53f3\u5074\u3060\u3051\u3058\u3083\u306a\u304f\u3066\u5de6\u5074\u306e\u5ba3\u8a00\u306e\u578b\u306b\u3082\u5fc5\u8981\u306a\u3093\u3058\u3083\uff1f \u305d\u308c\u3068\u3082\u578b\u306e\u53f3\u5074\u3068\u3044\u3046\u610f\u5473?<\/span><\/p>\n<pre class=\"brush: kotlin; title: ; notranslate\" title=\"\">\r\nval x: String? = y as String?\r\n<\/pre>\n<hr width=\"90%\">\n<p class=\"outline03\">\"\u30bb\u30fc\u30d5(\u5b89\u5168\u306a)\"(null\u8a31\u5bb9)\u30ad\u30e3\u30b9\u30c8\u6f14\u7b97\u5b50<\/p>\n<p>\u4f8b\u5916\u304c\u30b9\u30ed\u30fc\u3055\u308c\u308b\u306e\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u3001\u5931\u6557\u6642\u306bnull\u3092\u8fd4\u3059\u30bb\u30fc\u30d5\u30ad\u30e3\u30b9\u30c8\u6f14\u7b97\u5b50as?\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: kotlin; title: ; notranslate\" title=\"\">\r\nval x: String? = y as? String\r\n<\/pre>\n<p>as?\u306e\u53f3\u5074\u304c\u975enull\u578b\u306e\u6587\u5b57\u5217\u3067\u3042\u308b\u3053\u3068\u306b\u95a2\u308f\u3089\u305a\u3001\u30ad\u30e3\u30b9\u30c8\u306e\u7d50\u679c\u306fnull\u8a31\u5bb9\u578b\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u578b\u5224\u5b9a\u3068\u30ad\u30e3\u30b9\u30c8 is\u6f14\u7b97\u5b50\u3068!\u6f14\u7b97\u5b50\u306b\u3088\u308b\u578b\u5224\u5b9a \u203b\u3053\u308cis\u6f14\u7b97\u5b50\u3068\u5426\u5b9a\u306e!\u6f14\u7b97\u5b50\u306e\u7d44\u307f\u5408\u308f\u305b\u3060\u304b\u3089\u3001\u3053\u3046\u3044\u3046\u8868\u73fe\u306e\u65b9\u304c\u6b63\u3057\u3044\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3051\u308c\u3069\u3082\u3001\u3069\u3046\u3060\u308d\u3046\u304b(\u00b4\uff65\u03c9\uff65\uff40)\uff1f is\u6f14\u7b97\u5b50\u307e\u305f\u306f\u305d\u306e\u5426\u5b9a\u5f62\u5f0f\u3067\u3042\u308b!i...  <a class=\"excerpt-read-more\" href=\"https:\/\/mole-kingdom.com\/wpbl\/2020\/12\/15\/22838.html\" title=\"Read \u578b\u5224\u5b9a\u3068\u30ad\u30e3\u30b9\u30c8 : kotlin\">\u3082\u3063\u3068\u8aad\u3080 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[124],"tags":[],"class_list":["post-22838","post","type-post","status-publish","format-standard","hentry","category-kotlin"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2pLuj-5Wm","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":22847,"url":"https:\/\/mole-kingdom.com\/wpbl\/2020\/12\/21\/22847.html","url_meta":{"origin":22838,"position":0},"title":"\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3(\u62e1\u5f35) : kotlin","author":"moleking","date":"2020\u5e7412\u670821\u65e5","format":false,"excerpt":"\u203b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306f\u5168\u3066\"Target platform: JVMRunning on kotlin v\u2026","rel":"","context":"kotlin","block_context":{"text":"kotlin","link":"https:\/\/mole-kingdom.com\/wpbl\/category\/programming\/kotlin"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22864,"url":"https:\/\/mole-kingdom.com\/wpbl\/2020\/12\/24\/22864.html","url_meta":{"origin":22838,"position":1},"title":"\u6f14\u7b97\u5b50\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9: kotlin","author":"moleking","date":"2020\u5e7412\u670824\u65e5","format":false,"excerpt":"\u6f14\u7b97\u5b50\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9 Kotlin\u3067\u306f\u4f5c\u6210\u3059\u308b\u578b\u306b\u5bfe\u3057\u3066\u3001\u4e8b\u524d\u5b9a\u7fa9\u6e08\u3067\u3042\u308b\u6f14\u7b97\u5b50\u30bb\u30c3\u30c8\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u2026","rel":"","context":"kotlin","block_context":{"text":"kotlin","link":"https:\/\/mole-kingdom.com\/wpbl\/category\/programming\/kotlin"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12265,"url":"https:\/\/mole-kingdom.com\/wpbl\/2015\/05\/25\/12265.html","url_meta":{"origin":22838,"position":2},"title":"Android:\u30c7\u30d0\u30a4\u30b9ID\u306e\u53d6\u5f97","author":"moleking","date":"2015\u5e745\u670825\u65e5","format":false,"excerpt":"\u53d6\u308a\u6562\u3048\u305anexus9\u3067\u8d77\u52d5\u3057\u305f\u30a2\u30d7\u30ea\u3092\u898b\u3066\u3042\u308b\u3053\u3068\u306b\u6c17\u3065\u3044\u305f\u3002\u3068\u3044\u3046\u304b\u601d\u3044\u51fa\u3057\u305f\u3002 \u78ba\u304bLolip\u2026","rel":"","context":"Android","block_context":{"text":"Android","link":"https:\/\/mole-kingdom.com\/wpbl\/category\/os\/android"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24858,"url":"https:\/\/mole-kingdom.com\/wpbl\/2021\/06\/23\/24858.html","url_meta":{"origin":22838,"position":3},"title":"\u300eWelcome to Android Basics in Kotlin\u300f\u3092\u3084\u3063\u305f(\u7d42)","author":"moleking","date":"2021\u5e746\u670823\u65e5","format":false,"excerpt":"\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u9593\u306e\u5171\u6709 ViewModel 4. \u5171\u6709 ViewModel \u3092\u4f5c\u6210\u3059\u308b OrderVi\u2026","rel":"","context":"Android","block_context":{"text":"Android","link":"https:\/\/mole-kingdom.com\/wpbl\/category\/os\/android"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22840,"url":"https:\/\/mole-kingdom.com\/wpbl\/2020\/12\/17\/22840.html","url_meta":{"origin":22838,"position":4},"title":"\u30b7\u30fc\u30eb\u30af\u30e9\u30b9(\u5bc6\u9589\u30af\u30e9\u30b9) : kotlin","author":"moleking","date":"2020\u5e7412\u670817\u65e5","format":false,"excerpt":"\u30b7\u30fc\u30eb\u30af\u30e9\u30b9(\u5bc6\u9589\u30af\u30e9\u30b9) \u30b7\u30fc\u30eb\u30af\u30e9\u30b9\u306f\u9650\u5b9a\u7684\u306a\u30af\u30e9\u30b9\u968e\u5c64\u3092\u8868\u3059\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002 \u3053\u306e\u30af\u30e9\u30b9\u3067\u2026","rel":"","context":"kotlin","block_context":{"text":"kotlin","link":"https:\/\/mole-kingdom.com\/wpbl\/category\/programming\/kotlin"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24848,"url":"https:\/\/mole-kingdom.com\/wpbl\/2021\/06\/17\/24848.html","url_meta":{"origin":22838,"position":5},"title":"\u300eWelcome to Android Basics in Kotlin\u300f\u3092\u3084\u3063\u305f(2)","author":"moleking","date":"2021\u5e746\u670817\u65e5","format":false,"excerpt":"Layouts Kotlin\u306e\u30af\u30e9\u30b9\u3068\u7d99\u627f 2. \u30af\u30e9\u30b9\u968e\u5c64\u3068\u306f \u4e00\u5fdc\u3001\"\u8c46\u985e\"\u306e\u3068\u3053\u308d\u306e\u30ea\u30f3\u30af\u304ch\u2026","rel":"","context":"Android","block_context":{"text":"Android","link":"https:\/\/mole-kingdom.com\/wpbl\/category\/os\/android"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/mole-kingdom.com\/wpbl\/wp-json\/wp\/v2\/posts\/22838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mole-kingdom.com\/wpbl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mole-kingdom.com\/wpbl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mole-kingdom.com\/wpbl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mole-kingdom.com\/wpbl\/wp-json\/wp\/v2\/comments?post=22838"}],"version-history":[{"count":4,"href":"https:\/\/mole-kingdom.com\/wpbl\/wp-json\/wp\/v2\/posts\/22838\/revisions"}],"predecessor-version":[{"id":26140,"href":"https:\/\/mole-kingdom.com\/wpbl\/wp-json\/wp\/v2\/posts\/22838\/revisions\/26140"}],"wp:attachment":[{"href":"https:\/\/mole-kingdom.com\/wpbl\/wp-json\/wp\/v2\/media?parent=22838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mole-kingdom.com\/wpbl\/wp-json\/wp\/v2\/categories?post=22838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mole-kingdom.com\/wpbl\/wp-json\/wp\/v2\/tags?post=22838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}