Android‎ > ‎

Surface View : Enabling onDraw

posted Dec 19, 2012, 4:33 AM by Akash Khaitan   [ updated Mar 9, 2013, 7:56 AM ]

Just add the below method in the constructor
setWillNotDraw
(false);

Reference
http://stackoverflow.com/questions/2687015/extended-surfaceviews-ondraw-method-never-called


Comments