Cannot resolve constructor
Closed this issue · 1 comments
FriedCircuits commented
This isn't so much an issue but a question about using GraphView inside a fragment activity. I am getting an error Cannot resolve constructor LineGraphView
GraphView graphView;
graphView = new LineGraphView(this, message);
graphView.addSeries(exampleSeries); // data
I posted on stackoverflow and then realized I should ask here
http://stackoverflow.com/questions/21326875/android-cannot-resolve-constructor-lineviewgraph
jjoe64 commented
you're in a fragment so you need to pass the acitivty-context...