Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.ClassCastException: android.view.View cannot be cast to im.dacer.androidcharts.LineView #20

Open
CXeon opened this issue Sep 5, 2016 · 1 comment

Comments

@CXeon
Copy link

CXeon commented Sep 5, 2016

I use the LineView like this.



and in the MainActivity.
lineTemp = (LineView) rootView.findViewById(R.id.line_temp);

but, suffer the issue.Would you help me?

@francisnnumbi
Copy link

Use <....LineView instead of <View in xml an delete class="......"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants