Fragment ã®ãµã³ãã«ã§ã¯ãsetArguments() ã使ã£ã¦ Bundle ãä»ãã¦å¤ã渡ãã¦ããä¾ãå¤ãè¦ããã¾ãã â HogeFragment f = new HogeFragment(); Bundle args = new Bundle(); args.putInt("num", num); f.setArguments(args); ã¨ãããã â¡ HogeFragment f = new HogeFragment(num); ã ⢠HogeFragment f = new HogeFragment(); f.setNum(num); ã¨ããã£ãæ¹ãããããããªãï¼ Arguments ä»ããã®ã¯é¢åãããªãï¼ãªã«ãããã®ï¼ ã¨æã人ãå¤ãã®ã§ã¯ãªãã§ããããã ããã§ãArguments ãã©ãããã®ãã説æãããã¨æãã¾ãã 1. Fragment ã®ã³ã³ã¹ã
{{#tags}}- {{label}}
{{/tags}}