Closed Lancerer closed 1 year ago
可 晚上加
Lancerer @.***>于2023年2月28日 周二19:47写道:
关闭保存图片成功的toast可否提供接口自定义显示或者不显示?
— Reply to this email directly, view it on GitHub https://github.com/SherlockGougou/BigImageViewPager/issues/187, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIXE2ORSUOZI33IQIIYDYDWZXQWTANCNFSM6AAAAAAVKTWAGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
老哥,现在还有一种特殊的情况,就是实际上是gif但是他的后缀名变成了jpg,这时候点击放大查看的时候好像图片会加载不出来,一直处于loading状态
你可以知道每一张图片的真实格式吗?
Lancerer @.***>于2023年2月28日 周二19:58写道:
老哥,现在还有一种特殊的情况,就是实际上是gif但是他的后缀名变成了jpg,这时候点击放大查看的时候好像图片会加载不出来,一直处于loading状态
— Reply to this email directly, view it on GitHub https://github.com/SherlockGougou/BigImageViewPager/issues/187#issuecomment-1448057833, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIXE2IDX47PAXXOLMY6UO3WZXR6LANCNFSM6AAAAAAVKTWAGM . You are receiving this because you commented.Message ID: @.***>
老哥,现在还有一种特殊的情况,就是实际上是gif但是他的后缀名变成了jpg,这时候点击放大查看的时候好像图片会加载不出来,一直处于loading状态
这种情况,可以提供一组url吗?
// 下载过程回调,可自定义toast,如果不设置此回调会使用默认的toast内容
.setDownloadListener(new OnDownloadListener() {
@Override
public void onDownloadStart(Activity activity, int position) {
Toast.makeText(activity, "开始下载", Toast.LENGTH_SHORT).show();
}
@Override
public void onDownloadSuccess(Activity activity, int position) {
Toast.makeText(activity, "下载成功", Toast.LENGTH_SHORT).show();
}
@Override
public void onDownloadFailed(Activity activity, int position) {
Toast.makeText(activity, "下载失败", Toast.LENGTH_SHORT).show();
}
})
接下来发布的版本增加了toast的自定义接口,按照上述方式即可。
androidx-7.1.5 已发布。
老哥,现在还有一种特殊的情况,就是实际上是gif但是他的后缀名变成了jpg,这时候点击放大查看的时候好像图片会加载不出来,一直处于loading状态
这种情况,可以提供一组url吗?
你可以用它测试一下 https://s3.bmp.ovh/imgs/2023/03/01/219a4fef0bae6867.jpg
androidx-7.1.6 修复了,可以试一下。
androidx-7.1.6 修复了,可以试一下。
OK了,迅速啊老哥
关闭保存图片成功的toast可否提供接口自定义显示或者不显示?