From 6740dc0e45298454e884f7678a6ef6d6039a9377 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Thu, 6 Jul 2023 12:43:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=203.8.7=E4=B9=8B=E5=90=8E=20?= =?UTF-8?q?arrayof=E8=BD=AC=E6=8D=A2=E4=B8=BA=20utsArrayOf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-nativepage/utssdk/app-android/index.uts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uts-nativepage/utssdk/app-android/index.uts b/uni_modules/uts-nativepage/utssdk/app-android/index.uts index 43c745b..6abbe67 100644 --- a/uni_modules/uts-nativepage/utssdk/app-android/index.uts +++ b/uni_modules/uts-nativepage/utssdk/app-android/index.uts @@ -257,7 +257,7 @@ class DemoActivity extends Activity{ let recyclerView = findViewById(R.id.recycler_view) let layoutManager = LinearLayoutManager(this); recyclerView.setLayoutManager(layoutManager); - let fruitAdapter = FruitAdapter(arrayListOf("香蕉","苹果","大鸭梨")); + let fruitAdapter = FruitAdapter(utsArrayOf("香蕉","苹果","大鸭梨")); recyclerView.setAdapter(fruitAdapter); } -- GitLab