25.2k views
0 votes
The ListCell subclass’s ________ method creates the custom presentation. This method is called by the ListView’s cell factory when a ListView cell is required—that is, when the ListView is first displayed and when ListView cells are about to scroll onto the screen.

a. update
b. updateItem
c. newPresentation
d. None of the above.

1 Answer

5 votes

Answer:

A

Step-by-step explanation:

Update

The listview can be called an arbitrary amount of times, different items may be passed and the cell can go from empty to non-empty and the other way round. ListView creates about as many cells as you see on screen and fills them with items. E.g. scrolling or modifications of the items list or resizing of the ListView can result in updates.

User Armin Hierstetter
by
5.1k points