iOS Question ListView AddSingleLine and Customize it

Discussion in 'iOS Questions' started by Marco Maria Vilucchi, Jul 8, 2015.

  1. Marco Maria Vilucchi

    Marco Maria Vilucchi Active Member Licensed User

    Hi Erel,

    related to the Tutorial
    "B4i ListView"
    I have 2 questions

    1) how can i customize text/cell after your
    TableView1.AddSingleLine("Item #" & i)

    2) how can i customize text/cell for "First line"
    Dim tc As TableCell = TableView1.AddTwoLines("First line", "") 'the second line will be soon added

  2. Erel

    Erel Administrator Staff Member Licensed User

    Please see the forum guidelines:

    1) Exactly like you did in the second case: Dim tc As TableCell = TableView1.AddSingleLine(..)
    Now you can modify tc as needed.

    Dim s As AttributedString
    "first line"Font.DEFAULT, Colors.Black)
    tc.Text = s
  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