[android] Minimal Android wrapper on 'format' expression
For converting to Java types, flatten 'text-field' back to a string.
This commit is contained in:
committed by
Łukasz Paczos
parent
fc2afc1d23
commit
78a1c30e80
@@ -3224,6 +3224,11 @@ public class Expression {
|
||||
return new Expression("collator", new ExpressionMap(map));
|
||||
}
|
||||
|
||||
public static Expression format(Expression input) {
|
||||
Map<String, Expression> map = new HashMap<>();
|
||||
return new Expression("format", input, new ExpressionMap(map));
|
||||
}
|
||||
|
||||
/**
|
||||
* Asserts that the input value is an object. If it is not, the expression is an error
|
||||
* The asserted input value is returned as result.
|
||||
@@ -4441,4 +4446,4 @@ public class Expression {
|
||||
}
|
||||
return objects;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user