{"id":970,"date":"2021-05-27T18:44:20","date_gmt":"2021-05-27T09:44:20","guid":{"rendered":"http:\/\/batmask.dothome.co.kr\/?p=970"},"modified":"2025-09-12T17:48:15","modified_gmt":"2025-09-12T08:48:15","slug":"android-no-type-arguments-expected-for","status":"publish","type":"post","link":"http:\/\/batmask.net\/index.php\/2021\/05\/27\/970\/","title":{"rendered":"Android: &#8220;No type arguments expected for &#8230;&#8221;"},"content":{"rendered":"\n<p>Android \uac1c\ubc1c\uc911\uc5d0<strong> &#8220;No type arguments expected for &#8230;&#8221; \ub780 \uc5d0\ub7ec\uba54\uc138\uc9c0\ub97c \ub9cc\ub09c\ub2e4\uba74 \uc544\ub9c8\ub3c4 \ub2e4\ub978 \ud328\ud0a4\uc9c0\ub97c import\ud558\uace0 \uc788\uc744 \uac83\uc774\ub2e4.<\/strong> \uc608\ub97c\ub4e4\uc5b4 \ub098\uac19\uc740 \uacbd\uc6b0, RecyclerView\uc5d0 ListAdapter\ub97c \uc0ac\uc6a9\ud558\ub294\ub370 \uc704 \uc5d0\ub7ec\uac00 \ub5b4\uace0, \uc870\uae08 \ud5e4\ub9e8\ud6c4\uc5d0 \ub2e4\uc74c\uc774 \uc798\ubabb \ub410\uc74c\uc744 \uc54c\uc558\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#22272e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>import android.widget.ListAdapter<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F47067\">import<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F69D50\">android.widget.ListAdapter<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>RecyclerView\uc758 \uacbd\uc6b0, gerneric \uc778\uc790 \uac1c\uc218\uac00 \ub2e4\ub974\uac8c \uc0ac\uc6a9\ub41c\ub2e4. \uc62c\ubc14\ub978 import\ub294 \ub2e4\uc74c\uacfc \uac19\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#22272e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>import androidx.recyclerview.widget.RecyclerView<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F47067\">import<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F69D50\">androidx.recyclerview.widget.RecyclerView<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc774\ub7f0 \uac04\ub2e8\ud55c \uae30\ub85d\uc5d0 \ube14\ub85c\uadf8 \ud3ec\uc2a4\ud305\uc744 \ud574\uc57c\ud558\ub098 \uc0b4\uc9dd \uace0\ubbfc\ud588\ub294\ub370, \uc0bd\uc9c8\uc758 \uae30\ub85d\uc740 \uc5ec\uae30 \ub0a8\uae30\ub294\uac8c \ucd5c\uc120\uc778\uac70 \uac19\ub124.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android \uac1c\ubc1c\uc911\uc5d0 &#8220;No type arguments expected for &#8230;&#8221; \ub780 \uc5d0\ub7ec\uba54\uc138\uc9c0\ub97c \ub9cc\ub09c\ub2e4\uba74 \uc544\ub9c8\ub3c4 \ub2e4\ub978 \ud328\ud0a4\uc9c0\ub97c import\ud558\uace0 \uc788\uc744 \uac83\uc774\ub2e4. \uc608\ub97c\ub4e4\uc5b4 \ub098\uac19\uc740 \uacbd\uc6b0, RecyclerView\uc5d0 ListAdapter\ub97c \uc0ac\uc6a9\ud558\ub294\ub370 \uc704 \uc5d0\ub7ec\uac00 \ub5b4\uace0, \uc870\uae08 \ud5e4\ub9e8\ud6c4\uc5d0 \ub2e4\uc74c\uc774 \uc798\ubabb \ub410\uc74c\uc744 \uc54c\uc558\ub2e4. RecyclerView\uc758 \uacbd\uc6b0, gerneric \uc778\uc790 \uac1c\uc218\uac00 \ub2e4\ub974\uac8c \uc0ac\uc6a9\ub41c\ub2e4. \uc62c\ubc14\ub978 import\ub294 \ub2e4\uc74c\uacfc \uac19\ub2e4. \uc774\ub7f0 \uac04\ub2e8\ud55c \uae30\ub85d\uc5d0 \ube14\ub85c\uadf8 \ud3ec\uc2a4\ud305\uc744 \ud574\uc57c\ud558\ub098 \uc0b4\uc9dd <a href=\"http:\/\/batmask.net\/index.php\/2021\/05\/27\/970\/\" class=\"btn btn-link continue-link\">\ub354 \uc77d\uae30<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,34],"tags":[186,10,38,217,218],"class_list":["post-970","post","type-post","status-publish","format-standard","hentry","category-android","category-kotlin","tag-android-2","tag-error","tag-kotlin","tag-no-type-arguments","tag-tip"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/comments?post=970"}],"version-history":[{"count":4,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/970\/revisions"}],"predecessor-version":[{"id":3521,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/970\/revisions\/3521"}],"wp:attachment":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/media?parent=970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/categories?post=970"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/tags?post=970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}