# LayoutAnimationController.AnimationParameters

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# AnimationParameters

*** ** * ** ***

Kotlin \|[Java](https://developer.android.com/reference/android/view/animation/LayoutAnimationController.AnimationParameters "View this page in Java")  

```
open class AnimationParameters
```

|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                                               ||
| ↳ | [android.view.animation.LayoutAnimationController.AnimationParameters](https://developer.android.com/reference/kotlin/android/view/animation/LayoutAnimationController.AnimationParameters#) |

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [GridLayoutAnimationController.AnimationParameters](https://developer.android.com/reference/kotlin/android/view/animation/GridLayoutAnimationController.AnimationParameters) |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------| | [GridLayoutAnimationController.AnimationParameters](https://developer.android.com/reference/kotlin/android/view/animation/GridLayoutAnimationController.AnimationParameters) | The set of parameters that has to be attached to each view contained in the view group animated by the grid layout animation controller. | |

The set of parameters that has to be attached to each view contained in the view group animated by the layout animation controller. These parameters are used to compute the start time of each individual view's animation.

## Summary

|                                                                              Public constructors                                                                               ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [AnimationParameters](https://developer.android.com/reference/kotlin/android/view/animation/LayoutAnimationController.AnimationParameters#AnimationParameters())`()` <br /> |

|                                                                                                                                                           Properties                                                                                                                                                           ||
|----------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [count](https://developer.android.com/reference/kotlin/android/view/animation/LayoutAnimationController.AnimationParameters#count:kotlin.Int) The number of children in the view group containing the view to which these parameters are attached. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [index](https://developer.android.com/reference/kotlin/android/view/animation/LayoutAnimationController.AnimationParameters#index:kotlin.Int) The index of the view to which these parameters are attached in its containing view group.           |

## Public constructors

### AnimationParameters

```
AnimationParameters()
```

## Properties

### count

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var count: Int
```

The number of children in the view group containing the view to which these parameters are attached.  

### index

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
var index: Int
```

The index of the view to which these parameters are attached in its containing view group.