现在的位置: 首页 > 综合 > 正文

Suspicious method call; should probably call “draw” rather than “onDraw”

2018年04月07日 ⁄ 综合 ⁄ 共 222字 ⁄ 字号 评论关闭

今天在写一个文本阅读器时,出现以下错误:

 Suspicious method call; should probably call "draw" rather than "onDraw"

怎么看代码都没有错误。后来想是不是方法名onDraw与系统的什么方法冲突了吗?于是改了onDraw的方法名,就正确了。

pagefactory.Change_onDraw(mCurPageCanvas);
//pagefactory.onDraw(mCurPageCanvas);

抱歉!评论已关闭.