Public class GlideImageLoader extends ImageLoader {
Public void the displayImage (Context Context, the Object path, ImageView ImageView) {
Glide. With (context). The load (path) into (imageView);
}
Public ImageView createImageView Context (Context) {
return null;
}
}
Banner=(banner) the findViewById (R.i db anner);
//set the sowing time
Banner. SetDelayTime (1000);
Banner. SetImages (images);//set the banner shown in the picture
Banner. SetBannerAnimation (Transformer. DepthPage);
Banner. SetImageLoader (new GlideImageLoader ());//set the image loader
//set automatically wheel, the default is true
Banner. IsAutoPlay (true);
Banner. Start ();//set after the completion of calls to
The