- Forum posts: 1
Nov 13, 2016, 12:56:50 PM via Website
Nov 13, 2016 12:56:50 PM via Website
I have some troubles with Listview.
To begin with, I do the app with ListView in the MainActivity.
All things are wright, and I think to create different Items for different Activities.
But I don't know how to do it!
For example, I have a list with items:
New York, London, Berlin, Paris, Kyiw.
I need the different Activities for every item.
New York - NewYork.class
London - London.class and other.
Can you help me with it?
P.S Translate for Russian:
У меня есть некоторые проблемы с ListView.
Я создал ListView в MainActivity.
Я все правильно сделал и уже собирался сделать разные Items для разных Activities.
Но я не знаю как это правильно написать!
К примеру у меня ListView с Items:
Нью Йорк, Лондон, Берлин, Париж, Киев.
Мне нужно чтобы каждый отвечал за свое Activity.
New York - NewYork.class
London - London.class и т.д
Можете вы мне с этим помочь?
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.