Getting map to reappear after switching views

Discussion created by coreystokes on Apr 26, 2012
Latest reply on Apr 26, 2012 by simra
Hi All,

I am trying to get the map to reappear after switching views. The basic setup is the user presses a button that switches to a table layout. Afterwards, if the back button is pressed, the view is switched back to the main layout. But, when this switch occurs the map is blank. Any suggestions on this issue?


/*Create table code*/

//Inflate table layout
View view = LayoutInflater.from(MDHealthMobileActivity.this).inflate( R.layout.table,null);

//Back button
backBtn = (Button) findViewById(;
         backBtn.setOnClickListener(new OnClickListener () {
          public void onClick(View v) {