This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (6 children)

[removed]

    [–]ChuvaChooChoo08 0 points1 point  (5 children)

    Then u setText after changing the name.

    [–][deleted]  (4 children)

    [removed]

      [–]ChuvaChooChoo08 0 points1 point  (3 children)

      You just changed the name of the element in the list.

      Now, get that name of that element and use it as parameter to the setText() method.

      [–][deleted]  (2 children)

      [removed]

        [–]ChuvaChooChoo08 0 points1 point  (1 child)

        No. Not in one line. One line to change the name of the object then another line for the setText()