public class RandomSort extends SortFunction
Constructor and Description |
---|
RandomSort(long interObjectDelay)
Random sort pattern that utilizes
shuffle() |
Modifier and Type | Method and Description |
---|---|
java.util.List<SpruceTimedView> |
getViewListWithTimeOffsets(android.view.ViewGroup parent,
java.util.List<android.view.View> children)
Get a list of SpruceTimedView
|
public RandomSort(long interObjectDelay)
shuffle()
interObjectDelay
- long value used to determine delay between objectspublic java.util.List<SpruceTimedView> getViewListWithTimeOffsets(android.view.ViewGroup parent, java.util.List<android.view.View> children)
SortFunction
getViewListWithTimeOffsets
in class SortFunction
parent
- ViewGroup parent of the collection of child viewschildren
- List of views to be animated