我有一个要在GridView中显示的数组,我使用ArrayAdapter在Gridview中显示数组元素。
String [] abc={"1","2","3","4","5","6","7","8","9","10"};
ArrayAdapter<String> adapter= new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1,abc);
gridView.setAdapter(adapter);
所以,我在GridView中获得了数组,但我想知道如何在不使用ArrayAdapter的情况下在GridView中打印数组。
请帮帮我!!!!在此先感谢。