# GridLayoutAnimationController.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/GridLayoutAnimationController.AnimationParameters "View this page in Java")  

```
open class AnimationParameters : LayoutAnimationController.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)             ||
|   | ↳ | [android.view.animation.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. 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/GridLayoutAnimationController.AnimationParameters#AnimationParameters())`()` <br /> |

|                                                                                                                                               Properties                                                                                                                                               ||
|----------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [column](https://developer.android.com/reference/kotlin/android/view/animation/GridLayoutAnimationController.AnimationParameters#column:kotlin.Int) The view group's column to which the view belongs.                     |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [columnsCount](https://developer.android.com/reference/kotlin/android/view/animation/GridLayoutAnimationController.AnimationParameters#columnsCount:kotlin.Int) The number of columns in the view's enclosing grid layout. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [row](https://developer.android.com/reference/kotlin/android/view/animation/GridLayoutAnimationController.AnimationParameters#row:kotlin.Int) The view group's row to which the view belongs.                              |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [rowsCount](https://developer.android.com/reference/kotlin/android/view/animation/GridLayoutAnimationController.AnimationParameters#rowsCount:kotlin.Int) The number of rows in the view's enclosing grid layout.          |

| Inherited properties ||
|---|---|
| From class[AnimationParameters](https://developer.android.com/reference/kotlin/android/view/animation/LayoutAnimationController.AnimationParameters) |----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [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) <br /> The number of children in the view group containing the view to which these parameters are attached. <br /> | | [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) <br /> The index of the view to which these parameters are attached in its containing view group. <br />           | ||

## Public constructors

### AnimationParameters

```
AnimationParameters()
```

## Properties

### column

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

```
var column: Int
```

The view group's column to which the view belongs.  

### columnsCount

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

```
var columnsCount: Int
```

The number of columns in the view's enclosing grid layout.  

### row

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

```
var row: Int
```

The view group's row to which the view belongs.  

### rowsCount

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

```
var rowsCount: Int
```

The number of rows in the view's enclosing grid layout.