Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ViewPager.PageTransformer cannot be resolved to a type

I am getting ViewPager.PageTransformer cannot be resolved to a type I have updated the sdk to the latest and have the latest version of android-support-v4 in my libs folder and i read this post ViewPager.PageTransformer showing error ViewPager cant rersolved to a type i am using androidsupportv4 jar revision 9 and did the same steps but it didn't work.

like image 553
user1634451 Avatar asked Feb 21 '13 00:02

user1634451


1 Answers

You should remove ViewPager. from the begginging of declaration.

So, that would looks like just PageTransformer

Plus, import android.support.v4.view.ViewPager.PageTransformer;

that worked perfect for me.

like image 134
ivan.mylyanyk Avatar answered Dec 31 '22 09:12

ivan.mylyanyk