Programming Tips - What is the minimum Android Fragment?

Date: 2017may16 OS: Android Language: Java Q. What is the minimum Android Fragment? A.
import android.os.Bundle; import; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class SimpleFragment extends Fragment{ public SimpleFragment() { } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.simple_fragment, container, false); } }