Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.relax.kenno.test
- import android.os.Bundle
- import android.support.v4.app.Fragment
- import android.view.LayoutInflater
- import android.view.View
- import android.view.ViewGroup
- import kotlinx.android.synthetic.main.fragment_fr_cooking.*
- /**
- * A simple [Fragment] subclass.
- */
- class fr_cooking : Fragment() {
- override fun onCreateView(inflater: LayoutInflater?, container: ViewGroup?,
- savedInstanceState: Bundle?): View? {
- button.setOnClickListener({
- textView2.text = "blablabla"
- }
- )
- return inflater!!.inflate(R.layout.fragment_fr_cooking, container, false)
- }
- }// Required empty public constructor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement