R
R
RunFMe2015-03-28 14:43:43
Java
RunFMe, 2015-03-28 14:43:43

How to make a template for identical entries in Android?

Let's say I have a list of contacts (phones) and a ScrollView. How to place contacts on a ScrollView so that when you click on a contact, you can find out which one was clicked on?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Yakushev, 2015-03-29
@VYakushev

First, the idea with ScrollView instead of ListView looks very strange. The latter, with the help of an adapter, easily solves the problem. Secondly, what prevents when using ScrollView to use an inherited View with an additional field / fields?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question