Krisiacik / ImageViewer

An image viewer à la Twitter
MIT License
2.53k stars 385 forks source link

Add spinnerMode configuration #170

Open kabyshev opened 6 years ago

kabyshev commented 6 years ago

Sometimes you want to show a loader with the progress bar, for example, or show nothing at all. Let's provide an opportunity to create custom spinners with SpinnerMode.custom.

SpinnerMode is a new case for GalleryConfigurationItem. By default uses logic from previous versions - SpinnerMode.system.