locked
Starting different activities from a ListView RRS feed

  • Question

  • User118836 posted

    Hi everyone,

    I'm developing an app for my sports club.

    Now I have a problem. I have a simple ListView with some items. When I click on one of these items, I want to start a new activity. In general, this is no problem. There is only the ListView.ItemClicked event. But now my question. When I have i.e. the items "News" and "Referee", i want by clicking news the activity "News" and by clicking Referee the activity "Referee".

    I think it's a very simple question for you, but I don't know how to do it :(

    Thanks, Wuz

    Friday, April 3, 2015 1:41 PM

All replies

  • User112 posted

    Use e.Position to figure out the kind of item.

    Friday, April 3, 2015 4:25 PM