I create my page view from images on sd card, and it take some time (around 2 seconds). All operations I do in thread. When thread is finished, the isCreated flag set as true.

How do I prevent to show next page of ViewPager if isCreated is false?

I must override touch event?