siralam / LoopingViewPager

A ViewPager and PagerAdapter combination that support auto scroll, infinite loop and page indicators.
532 stars 64 forks source link

Setup programatically? #5

Open aldocano opened 6 years ago

aldocano commented 6 years ago

Can it be set programatically without specifying layouts and views in xml? I did created the viewpager, but for the adapter can figure out how to set it.

siralam commented 6 years ago

Hmm... Sorry at this stage I don't think so, since some attributes cannot be configured except through xml.

I would consider adding this in the future release. Thanks for your suggestion!