1) c. onDraw()
Reason. onDraw() can be used by view to draw itself.
2) b. invalidate ()
Reason: invalidate() correctly request a re-drawing of the customized 2-D graphics on a View object once this specified method is invoked.
3) b. Canvas
Reason: Canvas object is passed to the onDraw method and is used for drawing customized graphics on the View.
4) False
Reason: The overriden View's onDraw method cannot be invoked directly from any method outside of the Customized View's class.
Get Answers For Free
Most questions answered within 1 hours.