Lib from image gallery

Asked

Viewed 117 times

-1

I’m looking for a lib image gallery in the style of the image below with the page control. I tried to create one using page view and insert into the screen request with a container, but it was not good. I tried to use the lib banana, but it didn’t turn out as well.
Does anyone know any lib of galeria de imagem(or slide de imagem) that looks like the photo or knows how to develop a?

inserir a descrição da imagem aqui

1 answer

0

There are numerous libraries that implement this functionality. I quote here two Mwphotobrowser and Idmphotobrowser. Both work with local and also remote images, downloading and caching these.

However, especially if you are starting out, I find it a very interesting exercise to develop this component yourself. I suggest using a horizontal Uicollectionview, where each image would be a Uicollectionviewcell. It is also possible to do it using Uiscrollview, but then you will have to deal with more implementation details, since using Uicollectionview makes it easier to implement Lazy loading (load only the images that are visible).

In that link there is a tutorial on how to make a simple gallery using a Uicollectionview.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.