private void callInvalidate(int move) { try { GameActivity a = (GameActivity) getContext(); a.updateEx(move); } catch (Exception e) { } }