Back to project page ArrecebaAndroid.
The source code is released under:
GNU General Public License
If you think the Android project ArrecebaAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package br.com.projetointegrador.Frm; /*from w w w .ja v a 2s. c o m*/ import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.ListView; import br.com.projetointegrador.R; import br.com.projetointegrador.DAO.CrudDAO; import br.com.projetointegrador.TO.Crud; public class FrmCrudList extends FrmLogadoBase { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.crud_list); ListView list = (ListView) findViewById(R.crud_list.list); Crud[] crud = CrudDAO.GetList(user); ArrayAdapter<Crud> aa = new ArrayAdapter<Crud>(this, android.R.layout.simple_list_item_1, crud); list.setAdapter(aa); } }