Open oLeNgocCong opened 9 years ago
Hi,
I implement sample grid source code and have a bug. I add source code System.err.println("GridAdapter.getView position:" + position); into GridAdapter.getView GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0
How to fix this issues?
http://www.cnblogs.com/linjzong/p/3494090.html. can resolv your problem
Dear jiangkia,
Thanks for answer. I not found your solution on a link for fix this issue. Log: <gridView.getChildCount()> 03-16 18:41:17.876: I/System.out(17195): 0 0 03-16 18:41:17.896: I/System.out(17195): 0 0 03-16 18:41:17.896: I/System.out(17195): 0 0 03-16 18:41:17.896: I/System.out(17195): 0 0 03-16 18:41:17.906: I/System.out(17195): 0 0 03-16 18:41:17.906: I/System.out(17195): 0 0 03-16 18:41:17.916: I/System.out(17195): 0 0 03-16 18:41:17.916: I/System.out(17195): 0 0 03-16 18:41:17.916: I/System.out(17195): 0 0 03-16 18:41:17.926: I/System.out(17195): 1 1 03-16 18:41:17.936: I/System.out(17195): 2 2 03-16 18:41:17.946: I/System.out(17195): 3 3 03-16 18:41:17.956: I/System.out(17195): 4 4 03-16 18:41:17.966: I/System.out(17195): 5 5 03-16 18:41:17.986: I/System.out(17195): 6 6 03-16 18:41:17.996: I/System.out(17195): 7 7 03-16 18:41:18.006: I/System.out(17195): 8 8 03-16 18:41:18.016: I/System.out(17195): 9 9 03-16 18:41:18.026: I/System.out(17195): 10 10 03-16 18:41:18.036: I/System.out(17195): 11 11 03-16 18:41:18.046: I/System.out(17195): 12 12 03-16 18:41:18.056: I/System.out(17195): 13 13 03-16 18:41:18.066: I/System.out(17195): 14 14 03-16 18:41:18.076: I/System.out(17195): 15 15 03-16 18:41:18.096: I/System.out(17195): 16 16 03-16 18:41:18.106: I/System.out(17195): 17 17 03-16 18:41:18.116: I/System.out(17195): 18 18 03-16 18:41:18.136: I/System.out(17195): 19 19 03-16 18:41:18.146: I/System.out(17195): 20 20 03-16 18:41:18.166: I/System.out(17195): 21 21 03-16 18:41:18.176: I/System.out(17195): 22 22 03-16 18:41:18.196: I/System.out(17195): 23 23 03-16 18:41:18.266: I/System.out(17195): 24 0 无 03-16 18:41:18.286: I/System.out(17195): 24 0 无 03-16 18:41:18.286: I/System.out(17195): 24 0 无 03-16 18:41:18.286: I/System.out(17195): 24 0 无 03-16 18:41:18.296: I/System.out(17195): 24 0 无 03-16 18:41:18.296: I/System.out(17195): 24 0 无 03-16 18:41:18.296: I/System.out(17195): 24 0 无 03-16 18:41:18.296: I/System.out(17195): 24 0 无
Hi,
I implement sample grid source code and have a bug. I add source code System.err.println("GridAdapter.getView position:" + position); into GridAdapter.getView GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0 GridAdapter.getView position:0
How to fix this issues?