SHARE
TWEET

Untitled

a guest Oct 22nd, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. override fun onHogeFragmentAddFragment() {
  2.     val hugaFragment = FugaFragment.newInstance("りんご", "バナナ")
  3.     val transaction = supportFragmentManager.beginTransaction()
  4.     transaction.replace(R.id.container, hugaFragment)
  5.     transaction.addToBackStack(null) // バックスタックに保存する。呼び出さなければ積まれない。
  6.     transaction.commit()
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top