=+6. Add the following code to Fragment1.java: package com.jfdimarzio.fragments; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View;
Question:
=+6. Add the following code to Fragment1.java:
package com.jfdimarzio.fragments;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
public class Fragment1 extends Fragment {
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//---Inflate the layout for this fragment---
return inflater.inflate(
R.layout.fragment1, container, false);
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Beginning Android Programming With Android Studio
ISBN: 9781118707425
4th Edition
Authors: Wei Meng Lee, Jerome F DiMarzio
Question Posted: