- 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