最新回答 / ibushi
for (int i = 0, n = mWhiteArray.size(); i < n; i++) { Point whitePoint = mWhiteArray.get(i); int X = (int) ((whitePoint.x + (1-ratioPieceOfLineHeight)/2)*mLineHeight); int Y = (int) ((whitePoint.y + (1-ratioPiec...
2016-06-02
逻辑更清楚,代码更优化的五子棋实现:https://github.com/wangzhengyi/Gomoku,欢迎fork&&star
2016-05-31
已采纳回答 / 朱苑锋
在onRestoreInstanceState如果if(bundle instanceof Bundle)时需要返回。。。或者你在加个else 才执行super.onRestoreInstanceState(state);不然会执行两次super.onRestoreInstanceState(state);
2016-05-27