文件名称:Simpleadapter的简单用法
文件大小:414KB
文件格式:RAR
更新时间:2018-09-01 11:09:53
adapter
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); lv = (ListView) findViewById(R.id.listview); SimpleAdapter adapter = new SimpleAdapter(this, getData(), R.layout.list_item, new String[] { "img", "title", "info" }, new int[] { R.id.img, R.id.title, R.id.info }); lv.setAdapter(adapter); } private List
【文件预览】:
Simpleadapter
----.project(849B)
----project.properties(563B)
----src()
--------com()
----AndroidManifest.xml(796B)
----res()
--------drawable-ldpi()
--------drawable-hdpi()
--------values-v11()
--------menu()
--------drawable-mdpi()
--------layout()
--------drawable-xhdpi()
--------values()
--------values-v14()
----assets()
----gen()
--------com()
----libs()
--------android-support-v4.jar(341KB)
----.classpath(364B)
----proguard-project.txt(781B)
----ic_launcher-web.png(36KB)
----bin()
--------classes()
--------AndroidManifest.xml(796B)
--------jarlist.cache(119B)
--------res()