Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class BlankFragment : Fragment() {
- lateinit var rootView :ViewGroup
- override fun onCreateView(inflater: LayoutInflater?, container: ViewGroup?,
- savedInstanceState: Bundle?): View? {
- if (inflater != null) {
- rootView = inflater.inflate(R.layout.activity_empty_fragment, container, false) as ViewGroup
- }
- return rootView
- }
- }// Required empty public constructor
Advertisement
Add Comment
Please, Sign In to add comment