提交 6740dc0e 编写于 作者: 杜庆泉's avatar 杜庆泉

修复 3.8.7之后 arrayof转换为 utsArrayOf

上级 2a515f8c
......@@ -257,7 +257,7 @@ class DemoActivity extends Activity{
let recyclerView = findViewById<RecyclerView>(R.id.recycler_view)
let layoutManager = LinearLayoutManager(this);
recyclerView.setLayoutManager(layoutManager);
let fruitAdapter = FruitAdapter(arrayListOf("香蕉","苹果","大鸭梨"));
let fruitAdapter = FruitAdapter(utsArrayOf("香蕉","苹果","大鸭梨"));
recyclerView.setAdapter(fruitAdapter);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册