Created
June 8, 2012 16:01
-
-
Save condesa/2896425 to your computer and use it in GitHub Desktop.
Estilo del ArrayAdapter en Android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Adapter con un layout del framework de Android | |
lv.setAdapter(new ArrayAdapter(this,android.R.layout.simple_list_item_1,datos)); | |
//Adapter con un layout propio | |
lv.setAdapter(new ArrayAdapter(this,R.layout.list_item,datos)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment