glide

    0热度

    1回答

    对于使用bitmapTransform,我在依赖项中添加了2个编译。 正如您在下面看到的,滑翔和滑翔转换已成功添加。 compile 'com.android.support:appcompat-v7:25.2.0' compile 'com.android.support.constraint:constraint-layout:1.0.1' compile 'com.android.vol

    0热度

    2回答

    我有一个自定义的BaseAdapter和搜索工具栏的ListView每次我在工具栏上点击或我把过滤时间过滤列表,(读:每个列表刷新时间)还有一个闪烁由于图像重新加载...我怎样才能避免这种情况? @Override public View getView(final int position, View convertView, ViewGroup parent) { ViewHold

    2热度

    1回答

    正在使用glide v4和okhttp3与下滑融合。我想改变它的超时时间。怎么做?通过扩展AppGlideModule还是有其他方法吗?我已经搜索了适当的文档,但没有看到任何地方。

    1热度

    2回答

    在滑翔3.x中,我们可以添加这样注册下列字符串模式装载机: public class GlideService /* implements GlideModule*/ { @Override public void registerComponents(Context context, Glide glide) { glide.register(String.c

    -1热度

    1回答

    我正在使用MaterialDrawer lib在Android中生成导航Drawer,我也试图从外部源获取图像并将其设置为DrawerItem对象中的图标为此,我使用Glide v4 lib从外部源下载图像,但不知道如何更新抽屉中每个DrawerItem中的图标占位符。这是我到目前为止已经完成: @Override protected void onCreate(Bundle savedInst

    -1热度

    1回答

    验证码: imageView = (ImageView) findViewById(R.id.avatar); Bitmap photo = ((GlideBitmapDrawable)imageView.getDrawable().getCurrent()).getBitmap(); ByteArrayOutputStream bos = new ByteArrayOutputStream

    0热度

    1回答

    我有一个应用程序包含一系列图像通过链接使用滑翔库出现,我的应用程序需要很长时间才能加载所有图像,因此可以通过图像加载图像(一个接一个)。 Glide.with(context) .load(imageId.get(position)) .diskCacheStrategy(DiskCacheStrategy.ALL) .priority(Priority.HIGH)

    0热度

    2回答

    我是android开发新手,我有一个问题。我尝试在RecyclerView中加载一些图像。传入数据的类型为byte []。 我的第一个解决方案是将字节[]转换为位图,它工作正常,但位图在存储器中搜索,我得到一个OutOfMemory异常。 第二种解决方案是使用Glide。 Glide.with(mContext) .load(field.getImage())

    0热度

    1回答

    我使用毕加索在imageView中加载图片从资产。 android 4.1.2: working fine. android 5.1 : working fine. 的Android 7.0+:不工作。 我使用滑动但是相同。 我要做什么? Tnx你。

    0热度

    1回答

    我想从我的城市的餐厅得到照片。 这是其中一家餐厅的结果集。 { "formatted_address" : "Oranjesingel 2C, 6511 NS Nijmegen, Netherlands", "geometry" : { "location" : { "lat" : 51.8422931, "lng" : 5.862670