public PlotFunctionListItem(@Nonnull PlotFunction plotFunction) { this.plotFunction = plotFunction; this.viewBuilder = ViewFromLayoutBuilder.newInstance(R.layout.cpp_plot_function_list_item); this.tag = PREFIX + plotFunction.getXyFunction().getExpressionString(); }
@Nonnull public static PropertyView newPropertyView(@Nonnull Context context) { return new PropertyView( ViewFromLayoutBuilder.newInstance(R.layout.mpp_property).build(context)); }