Since: API Level 2.5
public static interface

GalleryFlowInterfaces.GalleryFlowViewInterface

com.droidux.pack.gallery.interfaces.GalleryFlowInterfaces.GalleryFlowViewInterface
Known Indirect Subclasses

Class Overview

Represents contracts to be implemented by the com.droidux.widget.gallery GalleryFlow widgets.

See Also
  • com.droidux.widget.gallery

Summary

Public Methods
abstract GalleryUrlImageCache getImageCache()
Gets the cache used to store the web images locally.
abstract View getSelectedWrappedView()
Gets the currently selected actual view given by the adapter's getView().
abstract void setImageCache(GalleryUrlImageCache cache)
Sets the cache used to store the web images locally.
abstract void setMaxFlingVelocity(float maxFlingVelocity)
Limits the fling velocity to the specified value.
abstract void setScrollingEnabled(boolean enabled)
Sets whether to enable/disable scrolling of the gallery.

Public Methods

public abstract GalleryUrlImageCache getImageCache ()

Since: API Level 2.5

Gets the cache used to store the web images locally.

Returns
  • The cache.

public abstract View getSelectedWrappedView ()

Since: API Level 2.5

Gets the currently selected actual view given by the adapter's getView(). Note: The GalleryFlow widgets uses internal GalleryFlowInterfaces.WrapperViewInterface view to wrap the actual view given by the client's adapter to add certain attributes and effects. The getSelectedView() will return the GalleryFlowInterfaces.WrapperViewInterface. If you need the to get the actual view, instead of the wrapper, use this function instead of the getSelectedView()

Returns
  • The currently selected actual view given by the client's adapter.

public abstract void setImageCache (GalleryUrlImageCache cache)

Since: API Level 2.5

Sets the cache used to store the web images locally.

Returns
  • The cache.

public abstract void setMaxFlingVelocity (float maxFlingVelocity)

Since: API Level 2.5

Limits the fling velocity to the specified value.

Parameters
maxFlingVelocity If greater than 0.0, the fling velocity will be limited.

public abstract void setScrollingEnabled (boolean enabled)

Since: API Level 2.5

Sets whether to enable/disable scrolling of the gallery.

Parameters
enabled If true, the gallery can be scrolled as normal. Otherwise, it can't be scrolled.