Code example for Bundle

Methods: getString

0
   
  private void restoreMe(Bundle state) {
    contact=null;
     
    if (state!=null) {
      String contactUri=state.getString("contact");
       
      if (contactUri!=null) {
        contact=Uri.parse(contactUri);
      } 
    } 
  } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE