Code example for ViewAnimator

Methods: setDisplayedChild

0
 
				// to test generic search 
				//area.areaData.genericSearch(WORLD_SEARCH, "TX.VAL.AGRI.ZS.UN", new String[]{"Jamaica", "Kenya","Barbados", "World"}); 
 
				return true; 
				 
			} catch (Exception e) {
				Log.e(TAG, "Exception updating Area Data " + e.toString());
				loadingAnimator.setDisplayedChild(1);
			} 
			return false; 
		} 
		 
		@Override 
		protected void onPostExecute(Boolean initResult) {
			super.onPostExecute(initResult);
			 
			if (initResult) {
				Log.e(TAG, "Correctly completed initialization");
				area.initIsRunning = false;
				setResult(RESULT_OK, new Intent());