0
I need to create a gallery but I don’t know how to load the images from the card in the view. Can anyone help me which API to use?
0
I need to create a gallery but I don’t know how to load the images from the card in the view. Can anyone help me which API to use?
0
You will use a library called Glide or Picasso. They try to load the images in the lists without crashing Android.
Example of use:
Glide.with(this).load(imagem).into(imageView);
//this é o contexto
//imagem pode ser um link da internet, um drawable...qualquer coisa carrega.
//imageView é o lugar onde vai carregar
Works on both Activity and fragments or adapters.
Browser other questions tagged android
You are not signed in. Login or sign up in order to post.
thanks helped a lot
– AlexSusama