Android-PageControl icon indicating copy to clipboard operation
Android-PageControl copied to clipboard

Control doesn't appear on load

Open Neogene opened this issue 8 years ago • 0 comments

Hi,

i'm using your lib, lovely! The only problem i'm facing is the control isn't showing untile a next page action/drag is performed.

i tried forcing appearance using setposition method and invalidate too, without success.

note: the component is inside a fragment, so inside the oncreateview i use :

      ViewPager pager = view.findViewById(R.id.galleryPagerView);
       control = view.findViewById(R.id.galleryPageControl);
       control.setViewPager(pager); 
       LoadCurrentContent(); //generate an adapter and attach to pager
       control.setPosition(0);

Neogene avatar Jun 18 '17 15:06 Neogene