Multiple choice

Which of the following methods in AbstractLayoutCache class returns the number of visible children for a row?

  1. getChildCount(TreePath path)

  2. getVisibleChildrenCount(TreePath path)

  3. getVisibleChildCount(TreePath path)

  4. getChildrenCount(TreePath path)

  5. getAllChildCount(TreePath path)

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This is the correct choice. getVisibleChildCount(TreePath path) method is present in the AbstractLayoutCache class and is used to retrieve the number of visible children for a row.