Skip to content

Instantly share code, notes, and snippets.

@manishkpr
Created December 30, 2016 08:49
Show Gist options
  • Save manishkpr/749a6d7e60558600c18495bc77b54470 to your computer and use it in GitHub Desktop.
Save manishkpr/749a6d7e60558600c18495bc77b54470 to your computer and use it in GitHub Desktop.
package com.example.navigationdrawer;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
public class FragmentThree extends Fragment {
public static Fragment newInstance(Context context) {
FragmentThree f = new FragmentThree();
return f;
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {
ViewGroup root = (ViewGroup) inflater.inflate(R.layout.fragment_three, null);
return root;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment