Android-PageControl
Android-PageControl copied to clipboard
Control doesn't appear on load
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);