摘要:
class Screen{private : LinearLayout screenView; // child views DebugView debugView; LineNumViewAdapter lineNumViewAdapter;// 适配器 LineNumView lineNumView; CodeFoldView codeFoldView; EditViewAdapter editViewAdapter;// 适配器 EditView editView; ...} 其中一个适配器的设置示例: // init adapter for line number view // w. 阅读全文