Bannder

implementation 'com.youth.banner:banner:1.4.9'
    implementation 'com.github.bumptech.glide:glide:4.8.0'
    implementation 'com.squareup.okhttp3:logging-interceptor:3.4.1'
private void initBanner() {
        mpresenter.setBanner(Url.Images_Url, new I_Images_Ok() {

            @Override
            public void success(Images_Bean bean) {
                List result = bean.getResult();

                banner.setBannerStyle(BannerConfig.CIRCLE_INDICATOR_TITLE_INSIDE);
                banner.setImageLoader(new BeaaerApp());

                List Imagelist=new ArrayList();
                List Titlelist=new ArrayList();
                for (int i = 0; i 
public class BeaaerApp extends ImageLoader {
    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        Glide.with(context).load(path).into(imageView);


    }
}

你可能感兴趣的:(Bannder,记录)