1

I am looking for a simple way to display data from DB on the phone screen. Best I would like to create a table (not DB table, but table on the screen) which would display all the data I want. Is there any easy way to do it? The only idea I have is by using custom listView, but I'm not sure it will work as I want it to. I don't want to be able to interact with a table, just to be able to display the data.

1
  • Custom ListView sounds good to me. But I don't know what you want it to be like. Commented Sep 14, 2012 at 22:32

1 Answer 1

1

Use a CursorAdapter to bind the queried Cursor to your ListView. Make sure you query for the Cursor on a background thread with a CursorLoader for the most responsive user experience.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.