I wanted to know whether the onDraw method get called without the programmers knowledge. I know that it is called at the first time View is loading and I know it calls when I call invaliade(). But does it calls in any other times?
I wanted to know whether the onDraw method get called without the programmers knowledge.
Share
Yes, whenever a parent view is redrawing itself like if the custom view is within a ScrollView whenever you scroll it…