Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.example.jason.kristinintroduction;
- import android.app.Activity;
- import android.os.Bundle;
- import android.support.v4.app.Fragment;
- import android.view.LayoutInflater;
- import android.view.View;
- import android.view.ViewGroup;
- public class english_3_fragment extends Fragment {
- /**
- * Returns a new instance of this fragment for the given section number.
- */
- public static english_3_fragment newInstance() {
- english_3_fragment fragment = new english_3_fragment();
- return fragment;
- }
- public english_3_fragment () {
- }
- @Override
- public View onCreateView(LayoutInflater inflater, ViewGroup container,
- Bundle savedInstanceState) {
- View rootView = inflater.inflate(R.layout.fragment_english_1, container,
- false);
- return rootView;
- }
- @Override
- public void onAttach(Activity activity) {
- super.onAttach(activity);
- ((Kristin_Introduction) activity).onSectionAttached(3);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement