Advertisement
Guest User

Untitled

a guest
Nov 27th, 2017
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. package com.relax.kenno.test
  2. import android.os.Bundle
  3. import android.support.v4.app.Fragment
  4. import android.view.LayoutInflater
  5. import android.view.View
  6. import android.view.ViewGroup
  7. import kotlinx.android.synthetic.main.fragment_fr_cooking.*
  8.  
  9.  
  10. /**
  11. * A simple [Fragment] subclass.
  12. */
  13. class fr_cooking : Fragment() {
  14.  
  15.  
  16. override fun onCreateView(inflater: LayoutInflater?, container: ViewGroup?,
  17. savedInstanceState: Bundle?): View? {
  18.  
  19. button.setOnClickListener({
  20. textView2.text = "blablabla"
  21. }
  22. )
  23.  
  24.  
  25. return inflater!!.inflate(R.layout.fragment_fr_cooking, container, false)
  26.  
  27.  
  28.  
  29. }
  30.  
  31.  
  32. }// Required empty public constructor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement