I am trying to implement Androidplot and I am getting the following error:
The constructor LineAndPointFormatter(Integer, Integer, Integer) is
deprecated
Can any one tell me what LineAndPointFormatter has been replaced with and how to implement it.
Many thanks.
Based on the new documentation, this class hasn’t been replaced with anything. A deprecated constructor merely indicates you’re supposed to use a different constructor.
The javadoc for the the deprecated constructor says this:
As for implementation, I can’t say, as I haven’t worked with this API, however the extra parameter (
PointLabelFormatter) seems like a simple class, so if you can work with the previous constructor, this should be largely the same.