Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void retrieveList(){
- DataBaseAdapter adapter = new DataBaseAdapter(this);
- db = adapter.getWritableDatabase();
- cursor = db.rawQuery("SELECT * FROM ficha", null);
- }
- public void createList(){
- listViewF = (ListView) findViewById(R.id.listViewF);
- CursorAdapterList adapter = new CursorAdapterList(this, cursor);
- listViewF.setAdapter(adapter);
- }
Add Comment
Please, Sign In to add comment