I have a class called GraphView.java and a activity called MainActivity.java. I want to run a timer of 40 miliseconds on MainActivity.java to control invalidate(); on GraphView.java means it should call onDraw() within 40 milisecond.
how this one is possible ?
I have tried with postinvalidate() it doesn't work in my case.