Latest Tweets:
So I was trying to figure out how to get my custom SurfaceView object integrated into the layout XML file of my Android project but no matter how many times I went over the syntax the app would hang. If I hard coded the object into the Activity then there were no problems but XML was a no go. I discovered that in order to properly initialize an View type object via “findViewById()” I would have to define the constructor View(Context, AttributeSet). Since I only defined the simple View(Context) constructor the app was unable to function as designed. At least now I know why…