在Android Studio中通过Glide加载图像

时间:2018-12-16 00:06:33

标签: android android-glide

此代码未在imageview中显示任何图像。我收到文件大小过大的异常。帮我。谁能解释我在做什么错?

  Bundle arguments = getArguments();
  if (arguments != null) {
      String name = arguments.get("FoodName").toString();
      String image = arguments.get("FoodImage").toString();

      txtfoodname.setText(name);
      Glide.with(this).load(image).into(imgfood);
  }

0 个答案:

没有答案