How can i create a customized ViewPager ? To instantiate a page in the ViewPager it\'s something like this :
public Object instantiateItem(View c
Tsunaze is right. Also, there is another way of doing that. If you are using Fragments to set the UI View, you can use, getItem(int position), from FragmentPagerAdapter and then use onCreateView method from Fragment class.
@Override
public Fragment getItem(int position) {
// TODO Auto-generated method stub
Log.d(TAG, "getItem");
return ImageListFragment.newInstance(position, mList);
}