Skip to content

Instantly share code, notes, and snippets.

@yenerm

yenerm/HomeFragment.kt

Last active Apr 12, 2020
Embed
What would you like to do?
<!-- Copyright 2019 Google LLC.
SPDX-License-Identifier: Apache-2.0 -->
package com.android.examples.myawesomeapp.ui.home
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.android.examples.deleteme.R
class HomeFragment : Fragment() {
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
return inflater.inflate(R.layout.fragment_home, container, false)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.