Nishant
Nishant

Reputation: 32222

Creating ListView with Two text in one line

I am creating an application to find near by places from user's current location. I want to create a ListView which will list all the place's name with distance from current location. I am able to to show the place name but how to show the distance in the same list view.

Upvotes: 1

Views: 328

Answers (1)

Kartik Domadiya
Kartik Domadiya

Reputation: 29968

I am able to to show the place name but how to show the distance in the same list view.

You have to customize ListView.

You can refer sample example here : http://www.androidpeople.com/android-custom-listview-tutorial-part-2

Article from Vogella.de

Upvotes: 3

Related Questions