use of com.tmall.wireless.tangram.dataparser.concrete.Style in project Tangram-Android by alibaba.
the class WrapCellCard method parseWith.
@Override
public void parseWith(@NonNull JSONObject data, @NonNull MVHelper resolver) {
maxChildren = 1;
id = data.optString(KEY_ID, id == null ? "" : id);
this.type = TangramBuilder.TYPE_SINGLE_COLUMN;
this.stringType = TangramBuilder.TYPE_CONTAINER_1C_FLOW;
createCell(resolver, data, true);
// do not need parse style, leave style empty
this.extras.remove(KEY_STYLE);
style = new Style();
}
Aggregations