ãã®ã¢ããªã®åä½ã®æµãã¯ä»¥ä¸ã®éãã ã ããªãã¡ã¬ã³ã¹ã«ãååãã¨ãå¹´é½¢ããç»é²ããã¦ãããã©ããã確èªãã ãååãã¨ãå¹´é½¢ãã両æ¹ç»é²ããã¦ãããããããã¤ã¡ãã»ã¼ã¸ã表示ãã¦çµäºãã ã©ã¡ããä¸æ¹ã§ãç»é²ããã¦ããªããã°ãç»é²ç¨ã®UIã表示ãã¦ã¼ã¶ã¼ã«å ¥åãã¦ããã£ãå 容ãããªãã¡ã¬ã³ã¹ã«ç»é²ããï¼1ï¼ã«æ»ãï¼ ããªãã¡ã¬ã³ã¹ã¸ã®ãã¼ã¿ã®ä¿å ã¾ããããªãã¡ã¬ã³ã¹ã«ãã¼ã¿ãä¿åããæé ãè¦ã¦ã¿ãããä»åã®ã¢ããªã§ã¯ã以ä¸ã®ããã«å®è£ ããã /** å ¥åããããååãããå¹´é½¢ããããªãã¡ã¬ã³ã¹ã«ä¿åãã */ public void saveNameAndAge( Context context, String name, int age ){ // ããªãã¡ã¬ã³ã¹ã®æºå // SharedPreferences pref = context.getSharedPreferences(
{{#tags}}- {{label}}
{{/tags}}