(Infinite) ViewPager issue

I'm trying to make a TikTok-like view in this app, but the following code does not add anything to the screen; its just blank. Is there anything wrong with this code?

image

This may help