How to count all entries of recyclerview list in android app?

No, the index remains same for each item. Only the index of FrameLayout varies from 0 to 2 i.e the total items displayed on the screen at a time.