{"id":907,"date":"2021-04-16T17:28:41","date_gmt":"2021-04-16T08:28:41","guid":{"rendered":"https:\/\/techmania.rensa.jp.net\/?p=907"},"modified":"2023-06-02T12:28:36","modified_gmt":"2023-06-02T03:28:36","slug":"android0002","status":"publish","type":"post","link":"https:\/\/techmania.jp\/blog\/android0002\/","title":{"rendered":"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5"},"content":{"rendered":"<p>Kotlin \u306f\u3001ListView\u3068\u3044\u3046View\uff08\u30c7\u30fc\u30bf\u8868\u793a\u6a5f\u80fd\uff09\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7c21\u5358\u306b\u914d\u5217\u3084\u30ea\u30b9\u30c8\u3092\u4e00\u89a7\u8868\u793a\u3055\u305b\u308bUI\u90e8\u54c1\u3067\u3001\u6599\u7406\u30a2\u30d7\u30ea\u3084\u30cb\u30e5\u30fc\u30b9\u30a2\u30d7\u30ea\u306a\u3069\u306b\u3082\u7528\u3044\u3089\u308c\u3066\u3044\u307e\u3059\u3002<br>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u305d\u3093\u306a ListView \u3092 Kotlin \u3067\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u4ea4\u3048\u306a\u304c\u3089\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3068\u306f<\/h2>\n\n\n<p>\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u77e5\u3089\u306a\u3044\u4eba\u306b\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u4e00\u89a7\u3068\u3044\u3063\u305f\u30da\u30fc\u30b8\u3092\u4f5c\u308a\u305f\u3044\u6642\u306b\u4fbf\u5229\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002<br>\u624b\u52d5\u3067\uff11\u3064\u305a\u3064\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u904b\u7528\u8996\u70b9\u306b\u304a\u3044\u3066\u6539\u4fee\u304c\u5bb9\u6613\u306b\u306a\u308b\u306a\u3069\u3001\u5229\u70b9\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u3068\u3082\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<h3 id=\"outline__1_1\" class=\"wp-block-heading\">ListView\u306e4\u8981\u7d20<\/h3>\n\n\n<p>\u30ea\u30b9\u30c8\u8868\u793a\u306f\u3001\u8907\u6570\u306e\u8981\u7d20\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>&lt;ListView&gt;\u30bf\u30b0\u3092\u5b9f\u88c5\u3059\u308b<\/strong><br>\u30c6\u30ad\u30b9\u30c8\u3084\u753b\u50cf\u3068\u3044\u3063\u305f\u7d20\u6750\u3002<\/li>\n<li><strong>\u30c7\u30fc\u30bf<\/strong><br>\u4e00\u89a7\u8868\u793a\u3059\u308b\u30c7\u30fc\u30bf\u3002\u914d\u5217\u3067\u4fdd\u6301\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30ea\u30b9\u30c8\u30ec\u30a4\u30a2\u30a6\u30c8<\/strong><br>\uff11\u884c\u306a\u306e\u304b\u3001\uff12\u884c\u306a\u306e\u304b\u3068\u3044\u3046\u3088\u3046\u306a\u4ed5\u69d8\u3092\u6c7a\u3081\u307e\u3059\u3002<br>android\u30b9\u30bf\u30b8\u30aa\u306b\u5099\u308f\u3063\u3066\u3044\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u81ea\u4f5c\u3082\u53ef\u80fd\u3067\u3059\u3002<\/li>\n<li><strong>\u30a2\u30c0\u30d7\u30bf\u3067\u5185\u90e8\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b<\/strong><br>ListView\u3084\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u30c7\u30fc\u30bf\u3068\u3044\u3063\u305f\u8981\u7d20\u3092\u30a2\u30c0\u30d7\u30bf\u306b\u307e\u3068\u3081\u3066\u304b\u3089\u8868\u793a\u3055\u305b\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u305d\u308c\u3067\u306f\u5b9f\u88c5\u5185\u5bb9\u3067\u3059\u3002<\/p>\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">\u3053\u306e\u8a18\u4e8b\u306e\u5bfe\u8c61\u8005<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30fb\u7e26\u4e26\u3073\u306e\u540c\u4e00\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u7d20\u65e9\u304f\u4f5c\u308a\u305f\u3044\u65b9<br>\u30fbAndroidStudio \u3067 Kotlin \u30a2\u30d7\u30ea\u3092\u958b\u767a\u3057\u3066\u3044\u308b\u65b9<br>\u30fb\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308a\u3001\u30b3\u30d4\u30da\u3067\u3068\u308a\u3042\u3048\u305a\u5b9f\u88c5\u3057\u305f\u3044\u65b9<\/p>\n\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">\u6240\u8981\u6642\u9593<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">15\u5206<\/p>\n\n\n\n<h2 id=\"outline__4\" class=\"wp-block-heading\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092 github \u3067\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002<br>\u3088\u3051\u308c\u3070\u3053\u3061\u3089\u3082\u53c2\u8003\u306b\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/techmaniaGit\/sample_list_view\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/techmaniaGit\/sample_list_view\" data-type=\"URL\" data-id=\"https:\/\/github.com\/techmaniaGit\/sample_list_view\" target=\"_blank\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/a><\/p>\n\n\n<div style=\"margin-top:4%;\">\n<p style=\"text-align:center; text-decoration:underline blue; font-weight:bold;\"><a href=\"https:\/\/techmania.jp\/lp\/2\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u57fa\u790e\u304b\u3089\u30b5\u30a4\u30c8\u5236\u4f5c\u307e\u3067<br>\u2193\u5b9f\u8df5\u529b\u304c\u8eab\u306b\u3064\u304f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u2193<\/a><\/p>\n<\/div>\n<div style=\"text-align:center; margin-top:1%;\"><a href=\"https:\/\/techmania.jp\/lp\/2\"><img decoding=\"async\" style=\"width:300px;\" alt=\"IT\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5b66\u6821 \u30c6\u30c3\u30af\u30de\u30cb\u30a2\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/05\/sc4.jpg\"><\/a><\/div>\n<div style=\"margin-top:-0.3%;\">\n<p style=\"text-align:center; text-decoration:underline red; font-weight:bold;\"><a href=\"https:\/\/techmania.jp\/lp\/2\"><font color=\"red\">\u226b\u30e2\u30cb\u30bf\u30fc\u5272\u5f15\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u5b9f\u65bd\u4e2d\uff01\u226a<\/font><\/a><\/p>\n<\/div>\n\n\n<h2 id=\"outline__5\" class=\"wp-block-heading\">\u5b9f\u88c5\u5185\u5bb9<\/h2>\n\n\n\n<h3 id=\"outline__5_1\" class=\"wp-block-heading\">\u30c7\u30fc\u30bf\u30af\u30e9\u30b9\u306e\u4f5c\u6210\uff08\u30ea\u30b9\u30c8\u4e00\u884c\u306b\u8868\u793a\u3059\u308b\u30c7\u30fc\u30bf\uff09<\/h3>\n\n\n<p>\u30c7\u30fc\u30bf\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"app\/com.example.practice\/CustomAdapter \u5185 Data.kt\">data class Data(\n  var icon: ImageView? = null,\n  var title: String? = null,\n  var text: String? = null\n)<\/pre><\/div>\n\n\n<p>Data\u3068\u3044\u3046\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u3001\u753b\u50cf(icon)\u3001\u30bf\u30a4\u30c8\u30eb(title)\u3001\u6587\u66f8(text)\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u6301\u3064\u3088\u3046\u306b\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n<h3 id=\"outline__5_2\" class=\"wp-block-heading\">\u30ea\u30b9\u30c8\u4e00\u884c\u5206\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u6210<\/h3>\n\n\n<p>id \u5c5e\u6027\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff0811,20,31\u884c\u76ee\uff09<\/p>\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"res\/layout\/row_view.xml\">&lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"72dp\"\n    android:paddingStart=\"16dp\"\n    android:paddingEnd=\"16dp\"\n    xmlns:app=\"http:\/\/schemas.android.com\/apk\/res-auto\"\n    xmlns:tools=\"http:\/\/schemas.android.com\/tools\"\n    &gt;\n    &lt;ImageView\n        android:id=\"@+id\/user_icon\"\n        android:layout_width=\"72dp\"\n        android:layout_height=\"72dp\"\n        app:layout_constraintTop_toTopOf=\"parent\"\n        app:layout_constraintStart_toStartOf=\"parent\"\n        android:src=\"@android:drawable\/ic_menu_gallery\"\n        android:contentDescription=\"\" \/&gt;\n    &lt;TextView\n        android:id=\"@+id\/title\"\n        android:layout_width=\"0dp\"\n        android:layout_height=\"wrap_content\"\n        app:layout_constraintBottom_toTopOf=\"@+id\/text\"\n        app:layout_constraintEnd_toEndOf=\"parent\"\n        app:layout_constraintStart_toEndOf=\"@id\/user_icon\"\n        app:layout_constraintTop_toTopOf=\"parent\"\n        app:layout_constraintVertical_chainStyle=\"packed\"\n        tools:text=\"Title\" \/&gt;\n    &lt;TextView\n        android:id=\"@+id\/text\"\n        android:layout_width=\"0dp\"\n        android:layout_height=\"wrap_content\"\n        app:layout_constraintBottom_toBottomOf=\"parent\"\n        app:layout_constraintEnd_toEndOf=\"parent\"\n        app:layout_constraintStart_toEndOf=\"@id\/user_icon\"\n        app:layout_constraintTop_toBottomOf=\"@id\/title\"\n        tools:text=\"asdadsadjasdadadasadsasdasdasda\" \/&gt;\n&lt;\/androidx.constraintlayout.widget.ConstraintLayout&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u203b\u3053\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u4e00\u884c\u5206\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u306a\u308b\u306e\u3067\u3001\u5909\u66f4\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u30d3\u30e5\u30fc\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u53ef\u80fd\u3067\u3059\u3002<\/strong><\/p>\n\n\n\n<h3 id=\"outline__5_3\" class=\"wp-block-heading\">\u30ab\u30b9\u30bf\u30e0\u30a2\u30c0\u30d7\u30bf\u30fc\u306e\u4f5c\u6210<\/h3>\n\n\n<p>\u30ab\u30b9\u30bf\u30e0\u30a2\u30c0\u30d7\u30bf\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002getView\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u3001\u5404\u9805\u76ee\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"app\/com.example.practice\/CustomAdapter.kt\">class CustomAdapter(context: Context, list: ArrayList&lt;Data&gt;) : ArrayAdapter&lt;Data&gt;(context, 0, list) {\n    override fun getView(position: Int, convertView: View?, parent: ViewGroup): View {\n        var view  = convertView\n        if (view == null) {\n            \/\/ \u4e00\u884c\u5206\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u751f\u6210\n            view  = LayoutInflater.from(context).inflate(R.layout.row_view, parent, false)\n        }\n        \/\/ \u4e00\u884c\u5206\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\n        val data = getItem(position)\n\u3000\u3000  \/\/ \u4e00\u884c\u5206\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u53d6\u5f97\u3057\u305fdata\u306e\u60c5\u5831\u3092\u30bb\u30c3\u30c8\u3059\u308b\n        view?.findViewById&lt;ImageView&gt;(R.id.user_icon).apply { data?.icon }\n        view?.findViewById&lt;ImageView&gt;(R.id.title).apply { data?.title }\n        view?.findViewById&lt;ImageView&gt;(R.id.text).apply { data?.text }\n        return view!!\n    }\n}<\/pre><\/div>\n\n\n\n<h3 id=\"outline__5_4\" class=\"wp-block-heading\">\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u306exml\u30d5\u30a1\u30a4\u30eb\u306b\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u8ffd\u52a0<\/h3>\n\n\n<p>xml \u3092\u751f\u6210\u3057\u3001\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br>&lt;ListView\/&gt;\u30bf\u30b0\u3067 ListView \u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"res\/layout\/activity_main.xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n&lt;androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n    xmlns:app=\"http:\/\/schemas.android.com\/apk\/res-auto\"\n    xmlns:tools=\"http:\/\/schemas.android.com\/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    tools:context=\".MainActivity\"&gt;\n    &lt;com.google.android.material.appbar.AppBarLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:theme=\"@style\/Theme.Practice.AppBarOverlay\"&gt;\n    &lt;\/com.google.android.material.appbar.AppBarLayout&gt;\n    &lt;!--\u3053\u3061\u3089\u3092\u8ffd\u52a0--&gt;\n    &lt;ListView\n        android:id=\"@+id\/custom_list_view\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\" \/&gt;\n&lt;\/androidx.coordinatorlayout.widget.CoordinatorLayout&gt;<\/pre><\/div>\n\n\n\n<h3 id=\"outline__5_5\" class=\"wp-block-heading\">\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u3078\u30a2\u30c0\u30d7\u30bf\u3092\u30bb\u30c3\u30c8\u3059\u308b<\/h3>\n\n\n<p>ArrayAdapter \u3092\u751f\u6210\u3057\u3001ListView \u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>ArrayAdapter \u306f\u3001\u914d\u5217\u3084\u30ea\u30b9\u30c8\u30921\u3064\u305a\u3064\u8868\u793a\u3059\u308b\u969b\u306b\u4f7f\u3046\u30a2\u30c0\u30d7\u30bf\u3067\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"app\/com.example.practice\/MainActivity.kt\">class MainActivity : AppCompatActivity() {\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        setContentView(R.layout.activity_main)\n        \/\/ \u30ea\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u4f5c\u6210\n        val dataList = arrayListOf&lt;Data&gt;()\n        for (i in 0..100){\n            dataList.add(Data().apply {\n                title = \"${i}\u756a\u76ee\u306e\u30bf\u30a4\u30c8\u30eb\"\n                text =  \"${i}\u756a\u76ee\u306e\u30c6\u30ad\u30b9\u30c8\"\n            })\n        }\n        \/\/ \u30a2\u30c0\u30d7\u30bf\u30fc\u3092\u30bb\u30c3\u30c8\n        val adapter = CustomAdapter(this, dataList)\n        custom_list_view.adapter = adapter\n    }\n}<\/pre><\/div>\n\n\n\n<h3 id=\"outline__5_6\" class=\"wp-block-heading\">\u3088\u308a\u6df1\u304f\u7406\u89e3\u3059\u308b\u305f\u3081\u306b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u306e\u8868\u793a\u306b\u6210\u529f\u3057\u305f\u65b9\u306f\u3001\u30c7\u30fc\u30bf\u30af\u30e9\u30b9\u306b\u5e74\u9f62\u3068\u3044\u3046\u5909\u6570\u3092\u8ffd\u52a0\u3057\u3066\u3001\u30d3\u30e5\u30fc\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u8868\u793a\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>\u6642\u9593\u304c\u3067\u304d\u305f\u3089\u304a\u8a66\u3057\u3044\u305f\u3060\u304f\u3068\u3088\u308a\u6df1\u304f\u7406\u89e3\u3067\u304d\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"app\/com.example.practice\/CustomAdapter\u5185 \u306b\u914d\u7f6e\">data class Data(\n  var icon: ImageView? = null,\n  var title: String? = null,\n  var text: String? = null,\n  var age: Int? = null\n)<\/pre><\/div>\n\n\n\n<h2 id=\"outline__6\" class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u306f\u57fa\u672c\u306e View class \u3067\u51fa\u6765\u308b\u3053\u3068\u306e\u6b86\u3069\u304c\u52b9\u7387\u7684\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001\u672c\u8a18\u4e8b\u306e\u3088\u3046\u306a\u751f\u6210\u306b\u5fc5\u8981\u306a\u51e6\u7406\u3092\u30b3\u30d4\u30da\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u3067\u697d\u306b\u5b9f\u88c5\u304c\u3067\u304d\u308b\u306e\u3082\u826f\u3044\u3068\u3053\u308d\u3067\u3059\u306d\u3002<br><br>\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066\u30bf\u30c3\u30c1\u30a4\u30d9\u30f3\u30c8\u7b49\u3082\u30bb\u30c3\u30c8\u3057\u3066\u307f\u308b\u3068\u5b9f\u969b\u306e\u5b9f\u88c5\u30a4\u30e1\u30fc\u30b8\u306b\u8fd1\u3044\u3082\u306e\u3082\u51fa\u6765\u308b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Kotlin \u306f\u3001ListView\u3068\u3044\u3046View\uff08\u30c7\u30fc\u30bf\u8868\u793a\u6a5f\u80fd\uff09\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7c21\u5358\u306b\u914d\u5217\u3084\u30ea\u30b9\u30c8\u3092\u4e00\u89a7\u8868\u793a\u3055\u305b\u308bUI\u90e8\u54c1\u3067\u3001\u6599\u7406\u30a2\u30d7\u30ea\u3084\u30cb\u30e5\u30fc\u30b9\u30a2\u30d7\u30ea\u306a\u3069\u306b\u3082\u7528\u3044\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001\u305d\u3093\u306a ListView \u3092 Kotlin \u3067\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u4ea4\u3048\u306a\u304c\u3089\u89e3\u8aac\u3057\u307e\u3059\u3002 \u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3068\u306f \u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u77e5\u3089\u306a\u3044\u4eba\u306b\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u4e00\u89a7\u3068\u3044\u3063\u305f\u30da\u30fc\u30b8\u3092\u4f5c\u308a\u305f\u3044 [&hellip;]","protected":false},"author":3,"featured_media":1130,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"fifu_image_url":"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/common\/ai_catch_android.jpg","fifu_image_alt":"\u3010android\u3011\u30b3\u30d4\u30da\u3067\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u4f5c\u6210","footnotes":""},"categories":[4],"tags":[29,32,30,31],"class_list":["post-907","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile","tag-android","tag-kotlin","tag-listview","tag-xml"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u77e5\u3089\u306a\u3044\u4eba\u306b\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u4e00\u89a7\u3068\u3044\u3063\u305f\u30da\u30fc\u30b8\u3092\u4f5c\u308a\u305f\u3044\u6642\u306b\u4fbf\u5229\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002\u624b\u52d5\u3067\uff11\u3064\u305a\u3064\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u904b\u7528\u8996\u70b9\u306b\u304a\u3044\u3066\u6539\u4fee\u304c\u5bb9\u6613\u3067\u3042\u3063\u305f\u308a\u3068\u5229\u70b9\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u3068\u3082\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"R.E\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/techmania.jp\/blog\/android0002\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TechMania |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5 | TechMania\" \/>\n\t\t<meta property=\"og:description\" content=\"\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u77e5\u3089\u306a\u3044\u4eba\u306b\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u4e00\u89a7\u3068\u3044\u3063\u305f\u30da\u30fc\u30b8\u3092\u4f5c\u308a\u305f\u3044\u6642\u306b\u4fbf\u5229\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002\u624b\u52d5\u3067\uff11\u3064\u305a\u3064\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u904b\u7528\u8996\u70b9\u306b\u304a\u3044\u3066\u6539\u4fee\u304c\u5bb9\u6613\u3067\u3042\u3063\u305f\u308a\u3068\u5229\u70b9\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u3068\u3082\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/techmania.jp\/blog\/android0002\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1368\" \/>\n\t\t<meta property=\"og:image:height\" content=\"196\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-04-16T08:28:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-06-02T03:28:36+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5 | TechMania\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u77e5\u3089\u306a\u3044\u4eba\u306b\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u4e00\u89a7\u3068\u3044\u3063\u305f\u30da\u30fc\u30b8\u3092\u4f5c\u308a\u305f\u3044\u6642\u306b\u4fbf\u5229\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002\u624b\u52d5\u3067\uff11\u3064\u305a\u3064\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u904b\u7528\u8996\u70b9\u306b\u304a\u3044\u3066\u6539\u4fee\u304c\u5bb9\u6613\u3067\u3042\u3063\u305f\u308a\u3068\u5229\u70b9\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u3068\u3082\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#blogposting\",\"name\":\"\\u3010Kotlin\\u3011ListView\\uff08\\u30ea\\u30b9\\u30c8\\u30d3\\u30e5\\u30fc\\uff09\\u306e\\u4f5c\\u6210\\u3068\\u30ab\\u30b9\\u30bf\\u30de\\u30a4\\u30ba\\u65b9\\u6cd5 | TechMania\",\"headline\":\"\\u3010Kotlin\\u3011ListView\\uff08\\u30ea\\u30b9\\u30c8\\u30d3\\u30e5\\u30fc\\uff09\\u306e\\u4f5c\\u6210\\u3068\\u30ab\\u30b9\\u30bf\\u30de\\u30a4\\u30ba\\u65b9\\u6cd5\",\"author\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/ryo-endorensa-co-jp\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/web-img.rensa.jp.net\\\/rensa\\\/images\\\/techmania\\\/common\\\/ai_catch_android.jpg\",\"width\":1000,\"height\":560,\"caption\":\"\\u3010android\\u3011\\u30b3\\u30d4\\u30da\\u3067\\u30ea\\u30b9\\u30c8\\u30d3\\u30e5\\u30fc\\u4f5c\\u6210\"},\"datePublished\":\"2021-04-16T17:28:41+09:00\",\"dateModified\":\"2023-06-02T12:28:36+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#webpage\"},\"articleSection\":\"Mobile, android, kotlin, listview, xml\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/techmania.jp\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/mobile\\\/#listItem\",\"name\":\"Mobile\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/mobile\\\/#listItem\",\"position\":2,\"name\":\"Mobile\",\"item\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/mobile\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#listItem\",\"name\":\"\\u3010Kotlin\\u3011ListView\\uff08\\u30ea\\u30b9\\u30c8\\u30d3\\u30e5\\u30fc\\uff09\\u306e\\u4f5c\\u6210\\u3068\\u30ab\\u30b9\\u30bf\\u30de\\u30a4\\u30ba\\u65b9\\u6cd5\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#listItem\",\"position\":3,\"name\":\"\\u3010Kotlin\\u3011ListView\\uff08\\u30ea\\u30b9\\u30c8\\u30d3\\u30e5\\u30fc\\uff09\\u306e\\u4f5c\\u6210\\u3068\\u30ab\\u30b9\\u30bf\\u30de\\u30a4\\u30ba\\u65b9\\u6cd5\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/mobile\\\/#listItem\",\"name\":\"Mobile\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#organization\",\"name\":\"\\u682a\\u5f0f\\u4f1a\\u793e\\u30ec\\u30f3\\u30b5\",\"description\":\"\\u682a\\u5f0f\\u4f1a\\u793e\\u30ec\\u30f3\\u30b5\\u306f\\u3001\\u81ea\\u793e\\u30b3\\u30f3\\u30c6\\u30f3\\u30c4\\u904b\\u7528\\u3092\\u8ef8\\u306b\\u300c\\u30aa\\u30a6\\u30f3\\u30c9\\u30e1\\u30c7\\u30a3\\u30a2\\u904b\\u55b6\\u300d\\u300c\\u5404\\u30e1\\u30c7\\u30a3\\u30a2\\u306e\\u5e83\\u544a\\u904b\\u7528\\u300d\\u300c\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u306e\\u80b2\\u6210\\u300d\\u300c\\u30b7\\u30b9\\u30c6\\u30e0\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u30ea\\u30f3\\u30b0\\u4e8b\\u696d\\u300d\\u3092\\u5c55\\u958b\\u3057\\u3066\\u3044\\u307e\\u3059\\u3002\\u6e29\\u5ea6\\u3092\\u611f\\u3058\\u308b\\u30af\\u30ea\\u30a8\\u30a4\\u30c6\\u30a3\\u30d6\\u3068\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u30ea\\u30f3\\u30b0\\u3067\\u793e\\u4f1a\\u306b\\u8ca2\\u732e\\u3057\\u307e\\u3059\\u3002\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/\",\"telephone\":\"+81364575500\",\"foundingDate\":\"2011-02-18\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/web-img.rensa.jp.net\\\/images\\\/techmania\\\/thumbnail\\\/images\\\/logo2.webp\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/ryo-endorensa-co-jp\\\/#author\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/ryo-endorensa-co-jp\\\/\",\"name\":\"R.E\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e57550f4b68649894bf9031f2a21d0e019d94cf1515489415b649bcd45c3103c?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"R.E\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#webpage\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/\",\"name\":\"\\u3010Kotlin\\u3011ListView\\uff08\\u30ea\\u30b9\\u30c8\\u30d3\\u30e5\\u30fc\\uff09\\u306e\\u4f5c\\u6210\\u3068\\u30ab\\u30b9\\u30bf\\u30de\\u30a4\\u30ba\\u65b9\\u6cd5 | TechMania\",\"description\":\"\\u30ea\\u30b9\\u30c8\\u30d3\\u30e5\\u30fc\\u3092\\u77e5\\u3089\\u306a\\u3044\\u4eba\\u306b\\u7c21\\u5358\\u306b\\u8aac\\u660e\\u3059\\u308b\\u3068\\u3001\\u30a2\\u30a4\\u30c6\\u30e0\\u4e00\\u89a7\\u3068\\u3044\\u3063\\u305f\\u30da\\u30fc\\u30b8\\u3092\\u4f5c\\u308a\\u305f\\u3044\\u6642\\u306b\\u4fbf\\u5229\\u306a\\u4ed5\\u7d44\\u307f\\u3067\\u3059\\u3002\\u624b\\u52d5\\u3067\\uff11\\u3064\\u305a\\u3064\\u30ec\\u30a4\\u30a2\\u30a6\\u30c8\\u3092\\u4f5c\\u308b\\u3053\\u3068\\u3082\\u3067\\u304d\\u307e\\u3059\\u304c\\u3001\\u904b\\u7528\\u8996\\u70b9\\u306b\\u304a\\u3044\\u3066\\u6539\\u4fee\\u304c\\u5bb9\\u6613\\u3067\\u3042\\u3063\\u305f\\u308a\\u3068\\u5229\\u70b9\\u304c\\u591a\\u304f\\u3042\\u308a\\u307e\\u3059\\u306e\\u3067\\u3001\\u662f\\u975e\\u3068\\u3082\\u4f7f\\u3063\\u3066\\u307f\\u3066\\u304f\\u3060\\u3055\\u3044\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/ryo-endorensa-co-jp\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/ryo-endorensa-co-jp\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/web-img.rensa.jp.net\\\/rensa\\\/images\\\/techmania\\\/common\\\/ai_catch_android.jpg\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#mainImage\",\"width\":1000,\"height\":560,\"caption\":\"\\u3010android\\u3011\\u30b3\\u30d4\\u30da\\u3067\\u30ea\\u30b9\\u30c8\\u30d3\\u30e5\\u30fc\\u4f5c\\u6210\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/android0002\\\/#mainImage\"},\"datePublished\":\"2021-04-16T17:28:41+09:00\",\"dateModified\":\"2023-06-02T12:28:36+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/\",\"name\":\"TechMania\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5 | TechMania","description":"\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u77e5\u3089\u306a\u3044\u4eba\u306b\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u4e00\u89a7\u3068\u3044\u3063\u305f\u30da\u30fc\u30b8\u3092\u4f5c\u308a\u305f\u3044\u6642\u306b\u4fbf\u5229\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002\u624b\u52d5\u3067\uff11\u3064\u305a\u3064\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u904b\u7528\u8996\u70b9\u306b\u304a\u3044\u3066\u6539\u4fee\u304c\u5bb9\u6613\u3067\u3042\u3063\u305f\u308a\u3068\u5229\u70b9\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u3068\u3082\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002","canonical_url":"https:\/\/techmania.jp\/blog\/android0002\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/techmania.jp\/blog\/android0002\/#blogposting","name":"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5 | TechMania","headline":"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5","author":{"@id":"https:\/\/techmania.jp\/blog\/author\/ryo-endorensa-co-jp\/#author"},"publisher":{"@id":"https:\/\/techmania.jp\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/common\/ai_catch_android.jpg","width":1000,"height":560,"caption":"\u3010android\u3011\u30b3\u30d4\u30da\u3067\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u4f5c\u6210"},"datePublished":"2021-04-16T17:28:41+09:00","dateModified":"2023-06-02T12:28:36+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/techmania.jp\/blog\/android0002\/#webpage"},"isPartOf":{"@id":"https:\/\/techmania.jp\/blog\/android0002\/#webpage"},"articleSection":"Mobile, android, kotlin, listview, xml"},{"@type":"BreadcrumbList","@id":"https:\/\/techmania.jp\/blog\/android0002\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/techmania.jp\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/category\/mobile\/#listItem","name":"Mobile"}},{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/category\/mobile\/#listItem","position":2,"name":"Mobile","item":"https:\/\/techmania.jp\/blog\/category\/mobile\/","nextItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/android0002\/#listItem","name":"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5"},"previousItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/android0002\/#listItem","position":3,"name":"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5","previousItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/category\/mobile\/#listItem","name":"Mobile"}}]},{"@type":"Organization","@id":"https:\/\/techmania.jp\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793e\u30ec\u30f3\u30b5","description":"\u682a\u5f0f\u4f1a\u793e\u30ec\u30f3\u30b5\u306f\u3001\u81ea\u793e\u30b3\u30f3\u30c6\u30f3\u30c4\u904b\u7528\u3092\u8ef8\u306b\u300c\u30aa\u30a6\u30f3\u30c9\u30e1\u30c7\u30a3\u30a2\u904b\u55b6\u300d\u300c\u5404\u30e1\u30c7\u30a3\u30a2\u306e\u5e83\u544a\u904b\u7528\u300d\u300c\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u80b2\u6210\u300d\u300c\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u4e8b\u696d\u300d\u3092\u5c55\u958b\u3057\u3066\u3044\u307e\u3059\u3002\u6e29\u5ea6\u3092\u611f\u3058\u308b\u30af\u30ea\u30a8\u30a4\u30c6\u30a3\u30d6\u3068\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u3067\u793e\u4f1a\u306b\u8ca2\u732e\u3057\u307e\u3059\u3002","url":"https:\/\/techmania.jp\/blog\/","telephone":"+81364575500","foundingDate":"2011-02-18","logo":{"@type":"ImageObject","url":"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/logo2.webp","@id":"https:\/\/techmania.jp\/blog\/android0002\/#organizationLogo"},"image":{"@id":"https:\/\/techmania.jp\/blog\/android0002\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/techmania.jp\/blog\/author\/ryo-endorensa-co-jp\/#author","url":"https:\/\/techmania.jp\/blog\/author\/ryo-endorensa-co-jp\/","name":"R.E","image":{"@type":"ImageObject","@id":"https:\/\/techmania.jp\/blog\/android0002\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e57550f4b68649894bf9031f2a21d0e019d94cf1515489415b649bcd45c3103c?s=96&d=mm&r=g","width":96,"height":96,"caption":"R.E"}},{"@type":"WebPage","@id":"https:\/\/techmania.jp\/blog\/android0002\/#webpage","url":"https:\/\/techmania.jp\/blog\/android0002\/","name":"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5 | TechMania","description":"\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u77e5\u3089\u306a\u3044\u4eba\u306b\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u4e00\u89a7\u3068\u3044\u3063\u305f\u30da\u30fc\u30b8\u3092\u4f5c\u308a\u305f\u3044\u6642\u306b\u4fbf\u5229\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002\u624b\u52d5\u3067\uff11\u3064\u305a\u3064\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u904b\u7528\u8996\u70b9\u306b\u304a\u3044\u3066\u6539\u4fee\u304c\u5bb9\u6613\u3067\u3042\u3063\u305f\u308a\u3068\u5229\u70b9\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u3068\u3082\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/techmania.jp\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/techmania.jp\/blog\/android0002\/#breadcrumblist"},"author":{"@id":"https:\/\/techmania.jp\/blog\/author\/ryo-endorensa-co-jp\/#author"},"creator":{"@id":"https:\/\/techmania.jp\/blog\/author\/ryo-endorensa-co-jp\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/common\/ai_catch_android.jpg","@id":"https:\/\/techmania.jp\/blog\/android0002\/#mainImage","width":1000,"height":560,"caption":"\u3010android\u3011\u30b3\u30d4\u30da\u3067\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u4f5c\u6210"},"primaryImageOfPage":{"@id":"https:\/\/techmania.jp\/blog\/android0002\/#mainImage"},"datePublished":"2021-04-16T17:28:41+09:00","dateModified":"2023-06-02T12:28:36+09:00"},{"@type":"WebSite","@id":"https:\/\/techmania.jp\/blog\/#website","url":"https:\/\/techmania.jp\/blog\/","name":"TechMania","inLanguage":"ja","publisher":{"@id":"https:\/\/techmania.jp\/blog\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"TechMania |","og:type":"article","og:title":"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5 | TechMania","og:description":"\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u77e5\u3089\u306a\u3044\u4eba\u306b\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u4e00\u89a7\u3068\u3044\u3063\u305f\u30da\u30fc\u30b8\u3092\u4f5c\u308a\u305f\u3044\u6642\u306b\u4fbf\u5229\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002\u624b\u52d5\u3067\uff11\u3064\u305a\u3064\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u904b\u7528\u8996\u70b9\u306b\u304a\u3044\u3066\u6539\u4fee\u304c\u5bb9\u6613\u3067\u3042\u3063\u305f\u308a\u3068\u5229\u70b9\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u3068\u3082\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002","og:url":"https:\/\/techmania.jp\/blog\/android0002\/","og:image":"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png","og:image:secure_url":"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png","og:image:width":1368,"og:image:height":196,"article:published_time":"2021-04-16T08:28:41+00:00","article:modified_time":"2023-06-02T03:28:36+00:00","twitter:card":"summary","twitter:title":"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5 | TechMania","twitter:description":"\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u77e5\u3089\u306a\u3044\u4eba\u306b\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u4e00\u89a7\u3068\u3044\u3063\u305f\u30da\u30fc\u30b8\u3092\u4f5c\u308a\u305f\u3044\u6642\u306b\u4fbf\u5229\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002\u624b\u52d5\u3067\uff11\u3064\u305a\u3064\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u904b\u7528\u8996\u70b9\u306b\u304a\u3044\u3066\u6539\u4fee\u304c\u5bb9\u6613\u3067\u3042\u3063\u305f\u308a\u3068\u5229\u70b9\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u3068\u3082\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002","twitter:image":"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png"},"aioseo_meta_data":{"post_id":"907","title":null,"description":"\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3092\u77e5\u3089\u306a\u3044\u4eba\u306b\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u4e00\u89a7\u3068\u3044\u3063\u305f\u30da\u30fc\u30b8\u3092\u4f5c\u308a\u305f\u3044\u6642\u306b\u4fbf\u5229\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002\u624b\u52d5\u3067\uff11\u3064\u305a\u3064\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u904b\u7528\u8996\u70b9\u306b\u304a\u3044\u3066\u6539\u4fee\u304c\u5bb9\u6613\u3067\u3042\u3063\u305f\u308a\u3068\u5229\u70b9\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u3068\u3082\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002","keywords":[],"keyphrases":{"focus":[],"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_custom_image_width":null,"og_custom_image_height":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"created":"2021-09-09 03:45:45","updated":"2026-05-15 06:23:38","primary_term":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-6a06bbea1c6c4","slug":"article","graphName":"Article","label":"\u8a18\u4e8b","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/techmania.jp\/blog\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/techmania.jp\/blog\/category\/mobile\/\" title=\"Mobile\">Mobile<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/techmania.jp\/blog"},{"label":"Mobile","link":"https:\/\/techmania.jp\/blog\/category\/mobile\/"},{"label":"\u3010Kotlin\u3011ListView\uff08\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff09\u306e\u4f5c\u6210\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5","link":"https:\/\/techmania.jp\/blog\/android0002\/"}],"_links":{"self":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/comments?post=907"}],"version-history":[{"count":55,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/907\/revisions"}],"predecessor-version":[{"id":4196,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/907\/revisions\/4196"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media\/1130"}],"wp:attachment":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media?parent=907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/categories?post=907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/tags?post=907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}