Code example for Handler

Methods: sendMessage, obtain

0
	public void onPause() { 
		surfaceView.onPause();
	} 
	 
	public void reloadTexture() { 
		handler.sendMessage(Message.obtain(handler, MSG_SURFACE_CREATED));
	} 
 
	@Override 
	public boolean onTouchEvent(MotionEvent event) {
		return renderer.getCards().handleTouchEvent(event);
	} 
}