58 lines
1.1 KiB
Java
58 lines
1.1 KiB
Java
|
package org.y20k.trackbook;
|
||
|
|
||
|
import android.os.Bundle;
|
||
|
import android.support.annotation.Nullable;
|
||
|
import android.support.v4.app.Fragment;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
|
||
|
/**
|
||
|
* Created by solaris on 16/09/16.
|
||
|
*/
|
||
|
public class MainActivityTrackFragment extends Fragment {
|
||
|
|
||
|
|
||
|
/* Main class variables */
|
||
|
private View mRootView;
|
||
|
|
||
|
|
||
|
@Override
|
||
|
public void onCreate(Bundle savedInstanceState) {
|
||
|
super.onCreate(savedInstanceState);
|
||
|
|
||
|
// action bar has options menu
|
||
|
setHasOptionsMenu(true);
|
||
|
}
|
||
|
|
||
|
|
||
|
@Nullable
|
||
|
@Override
|
||
|
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
|
||
|
|
||
|
// inflate root view from xml
|
||
|
mRootView = inflater.inflate(R.layout.fragment_main_track, container, false);
|
||
|
|
||
|
return mRootView;
|
||
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
|
public void onResume() {
|
||
|
super.onResume();
|
||
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
|
public void onPause() {
|
||
|
super.onPause();
|
||
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
|
public void onDestroyView() {
|
||
|
super.onDestroyView();
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|