Search code examples
androidviewflipper

How to get total number of views from ViewFlipper?


How can I get the number of views of ViewFlipper ? I need to refresh ViewFlipper after all views have been seen.


Solution

  • You can use getChildCount(), since ViewFlipper is a ViewGroup.