Home > Mobile >  The Android API interface for pictures on the layout???????
The Android API interface for pictures on the layout???????

Time:09-27


Get the information from the interface,
D/acceptJson: {" id ": 2," name ":" the old Summer Palace ", "ticket" : 20, "img", "\ \/images/spot \/yuanmingyuan JPG"

String img=jcarnumber. Get String (" img ");

Then how to set up the UI interface of the ImageView?? Using the "img", "\ \/images/spot \/yuanmingyuan JPG"

CodePudding user response:

ImageView load network image, with a lot of

CodePudding user response:

Use Glide to load the network picture
Glide. With (this)
The load (url)
. Into (imageView);

CodePudding user response:

Thank you, the problem has been solved,

CodePudding user response:

Use glide frame, this is very very very good
  • Related