@Override protected Void doInBackground(Void... params) { try { mFragment.updateCity(); } catch (IOException e) { e.printStackTrace(); } return null; }