IntProperty
public abstract class IntProperty<T> extends Property
An implementation of android.util.Property to be used specifically with fields of type int. This type-specific subclass enables performance benefit by allowing calls to a setValue() function that takes the primitive int type and avoids autoboxing and other overhead associated with the Integer class.
| Parameters | |
|---|---|
<T> |
The class on which the Property is declared. |
Summary
Public constructors |
|---|
|
A constructor that creates an int property instance with an empty name. |
IntProperty(@NonNull String name)A constructor that takes an identifying name for the int property. |
Public methods |
|
|---|---|
final void |
|
abstract void |
A type-specific variant of |
Inherited methods |
|---|
Public constructors
IntProperty
public IntProperty()
A constructor that creates an int property instance with an empty name. To create a named int property, see IntProperty
| See also | |
|---|---|
IntProperty |
IntProperty
public IntProperty(@NonNull String name)
A constructor that takes an identifying name for the int property. This name will show up as a part of getPropertyName when the ObjectAnimator is created with a Property object as its animation property. This name will also appear in systrace as a part of the animator name.
| See also | |
|---|---|
IntProperty |