This is the situation - My root layout is scrollview - A custom view with multiple drawing operations is embedded in the layout My problem is that if the layout is scrolled then customview.ondraw() is being called multiple times. Since there are many operations in the ondraw() I am getting a performance hit.
What is the best strategy out of this?