views:

98

answers:

0

What exactly does dispatchDraw(Canvas) method do? This is what the documentation says:

protected void dispatchDraw (Canvas canvas) Since: API Level 1 Called by draw to draw the child views. This may be overridden by derived classes to gain control just before its children are drawn (but after its own view has been drawn). Parameters canvas the canvas on which to draw the view

I didn't understand it. Please explain.