ã¯ããã« å人çãªçµé¨ãããFragmentã使ãã¨ãã«æ°ã«ãããæ°ã¥ãããã¨ãã¾ã¨ãã¾ããã Fragmentã®åæè¨å®å¤ã¨ããçææã«å¤ã渡ãæã¯setArguments Fragmentã®ã³ã³ã¹ãã©ã¯ã¿ã¯publicã§ç¡ä¿®æ£ãªãã¤ãããªãã¨æãããã®ã§ãã³ã³ã¹ãã©ã¯ã¿ãã«ã¹ã¿ãã¤ãºãã¦newããæã«å¤ã渡ããã¨ãåºæ¥ãªãã ã¾ããgetInstanceçãä½ã£ã¦å¤ã渡ããã¨ãèãããããããªãããFragmentãç ´æ£ããã¦åçæãããã¨ãã«åçãã£ã¼ã«ãã¯å ¨ã¦åæåãããããã®ã¨ãæåããã©ã¤ããµã¤ã¯ã«ãèµ°ãç´ãããgetInstanceãéããªãã®ã§åæå¤ãåãåãããæ¬æ¥ã®åä½ãè¡ããªããªãã ãªã®ã§Fragmentã»ããæã«å¤ã渡ãã¦ãããã§ç¶æ ãåãæ¿ããããããã¨ã㯠setArguments() ã onSaveInstanceState() ã使ããã 使ãæ¹ã¯ä»¥ä¸ã®
{{#tags}}- {{label}}
{{/tags}}