This is what I want to achieve. I have a ViewPager. You need an inscription on top that changes. when I switch from 2 to 3 pages and back, respectively. Only 2 groups, that is, only 2 inscriptions that change only in this moment. Please help me do it, I would like everything to be neat, if, for example, to hold your finger between 2 and 3 pages, then the inscriptions would be delayed in changing their positions, as I drew on 3 parts of the picture.
