Skip to content

A lightweight hoziontal image scroller that centers on the middle cell regardless of the image's aspect ratio.

License

Notifications You must be signed in to change notification settings

sammcewan/SMMosaicCollectionView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#SMMosaicCollectionView

Purpose

There are a few discussions about how to build a scrollview with variable page sizes. When faced with this problem I decided to complete my own specific implementation.

Required:

  • Multiple images displayed side-by-side regardless of size.
  • Bounce to the center most image on decelleration and stop.
  • Lightweight.

Best seen in the following example

Example

What next?

I would love to see where this library goes. I've kept it simple to start off with but intend on updating as I work through its implementation in my own app.

Release Notes

Version 1.0

  • Initial release

About

A lightweight hoziontal image scroller that centers on the middle cell regardless of the image's aspect ratio.

Resources

License

Stars

Watchers

Forks

Packages

No packages published