0

I'm developing an Android App and I need to display some data in a scrollable Listview. I will extract some strings from objects that I right now have stored in linked lists (until i come up with a better solution).

I want to display a view that looks almost like the contacts app. A list with a small picture to the left and a larger text to the right of the picture with a smaller text the bigger one. When I click on one of the items it should open a new activity.

How do I create the view? If I adds an object in the linked list it should appear in the list.

I have checked some sample code, but they all uses Arrayadapter and I dont understand how I am supposed to do.

2 Answers 2

1

Check this article about Adapters: http://www.vogella.com/articles/AndroidListView/article.html If you want to add new objects in ListVew use:

adapter.notifyDataSetChenged();
Sign up to request clarification or add additional context in comments.

Comments

0

Check the libraries in this question, you have what you need there:

Lazy load of images in ListView

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.