Android Question Getting CustomListView item index in CSBuilder clickable words handler

Discussion in 'Android Questions' started by Xyloidhead, Oct 27, 2018.

  1. Xyloidhead

    Xyloidhead Member Licensed User

    I can use a CSBuilder string, with clickable words, in a label item that is part of a CustomListView item; I was using the Expandable List demo as a base.

    The event handler for the clickable words works, in that it is called and gets the correct words.

    How can I get the item index of the Custom List View item that holds the label where the word_click happened? So I can retrieve the complete item.
  2. Erel

    Erel Administrator Staff Member Licensed User

    CLV.GetItemFromView returns the index of the item that holds the view. Pass Sender to this method to get the index.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice