阅读背景:

NullPointerException不指向代码中的任何行

来源:互联网 

I am working on a game where the player can drag and drop things around the screen. I've got a private method which allows me to simulate a drag/drop event for any of the items that the player can move around. For the dragging I am actually leaving the view that they touched where it is and creating a new ImageView with and setting the drawable to the drawingCache from the touched view, then moving this newly created ImageView around the screen following their finger. When you release your finger (drop the view) I am calling I am working on a game where the player can dra




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: