daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class FragmentTwo : Fragment() {
  2.  
  3.     override fun onCreateView(
  4.         inflater: LayoutInflater, container: ViewGroup?,
  5.         savedInstanceState: Bundle?
  6.     ): View? {
  7.         return inflater.inflate(R.layout.fragment_fragment_two, container, false).apply {
  8.             this.back_to_fragment_one.setOnClickListener {
  9.                 RxBus.instance.publish(FRAGMENT_ONE_TAG)
  10.             }
  11.  
  12.             this.finish_app.setOnClickListener {
  13.                 RxBus.instance.publish(FINISH_APP_TAG)
  14.             }
  15.         }
  16.     }
  17.  
  18. }
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