implementation 'cn.bingoogolapple:bga-photopicker:1.2.8@aar'
implementation 'cn.bingoogolapple:bga-baseadapter:1.2.7@aar'
implementation 'com.github.bumptech.glide:glide:4.5.0'
BGAPhotoPreviewActivity.IntentBuilder photoPreviewIntentBuilder = new BGAPhotoPreviewActivity.IntentBuilder(this).saveImgDir(null); // 保存图片的目录,如果传 null,则没有保存图片功能
photoPreviewIntentBuilder.previewPhoto("https://profile.csdnimg.cn/0/D/E/3_qq_25430563");
startActivity(photoPreviewIntentBuilder.build());