更新时间:2023-02-07 07:56:34
Glide .with(context) .load(url).apply(new RequestOptions().override(150, 150))//用于调整大小.into(imageView);
无需创建位图,它需要更多的计算.Glide 更快更高效.而且如果你想使用位图,那么使用 AsycTask 这样它就不会阻塞主线程并且程序不会挂起.
No need to create bitmap it takes more computation . Glide is more faster and efficient. And still if you want to use bitmap then use AsycTask so it wont block main thread and program will not hang.