/** this method is for handling static obstacle when recycle method called * */ @Override protected void onHandleRecycleItem(StaticObstacle obstacle) { super.onHandleRecycleItem(obstacle); obstacle.setVisible(false); obstacle.setIgnoreUpdate(true); }