Skip to content

FWS-86/BannerView

 
 

Repository files navigation

a simple BannerView which can auto switch pages based on ViewPager and LinearLayout.

update 2017-08-24 解决了从其他界面返回后banner轮播混乱的问题
  • dependencies(依赖)
compile 'com.coldmoqiuli:banners:1.0.1'
  • useage(传递进一个List,如需listener,clicklistener也在创建ImageView的时候自行处理好即可)
        bannerView = (BannerView) findViewById(R.id.banner);
        bannerView.setViewList(viewList);
        bannerView.startLoop(true);
  • like this

screenshot

About

A banner viewgroup based on ViewPager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%