2012-01-28 38 views
0
Thread [<3> main] (Suspended (breakpoint at line 12 in MyContentView)) 
MyContentView.onDraw(Canvas) line: 12 
MyContentView(View).draw(Canvas) line: 6535 
FrameLayout(ViewGroup).drawChild(Canvas, View, long) line: 1531 
FrameLayout(ViewGroup).dispatchDraw(Canvas) line: 1258 
FrameLayout(View).draw(Canvas) line: 6538 

括號內的含義是什麼意思?例如FrameLayout(ViewGroup)FrameLayout(View)android調用棧解釋

回答

1
FrameLayout(ViewGroup).dispatchDraw(Canvas) line: 1258 

從ViewGroup繼承的dispatchDraw方法被調用。

FrameLayout(View).draw(Canvas) line: 6538 

平局(..)繼承View類的方法獲取調用