public interface ValueRef
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
ValueRef.NullValueRef
A ValueRef for the null value.
|
static class |
ValueRef.TypedValueHolderValueRef
A ValueRef holder for a single value, which cannot be set.
|
| 限定符和类型 | 方法和说明 |
|---|---|
TypedValue |
getValue()
Returns the value this ValueRef points to, it should not require expression
component re-evaluation.
|
boolean |
isWritable()
Indicates whether calling setValue(Object) is supported.
|
void |
setValue(Object newValue)
Sets the value this ValueRef points to, it should not require expression component
re-evaluation.
|
TypedValue getValue()
void setValue(@Nullable
Object newValue)
newValue - the new valueboolean isWritable()