skalajan/image-gallery-android-library ? reverse-engineered prompt

Reverse engineered prompt

Build me an Android image gallery library that is easy to drop into an app but still flexible enough to customize. It should show one large image at a time with swipe navigation between images, and it needs to work both as a full screen activity and as a view I can place inside my own screen.

I want it to load images from normal web links and from drawable resources right away, and also leave room for custom adapters if I want to load from other sources later. Use Glide for image loading and a paging style image list so swiping feels smooth. Add simple back and share buttons, and make their icons, colors, spacing, and image background easy to override from the app.

Keep it compatible with older Android versions too, at least API 16 and up. If anything is unclear, look up current docs online and make sensible choices.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab