SHARE
TWEET

Untitled

a guest Oct 22nd, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. override fun onCreateView(
  2.     inflater: LayoutInflater, container: ViewGroup?,
  3.     savedInstanceState: Bundle?
  4. ): View? {
  5.     val fragmentView = inflater.inflate(R.layout.fragment_hoge, container, false)
  6.  
  7.     val addFragment = fragmentView.findViewById<Button>(R.id.addFragment)
  8.     addFragment.setOnClickListener {
  9.         addFragment()
  10.     }
  11.     return fragmentView
  12. }
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