Commit | Line | Data |
---|---|---|
724f9857 MG |
1 | package ro.ieval.unical; |
2 | ||
3 | import android.app.Fragment; | |
4 | import android.os.Bundle; | |
5 | import android.view.LayoutInflater; | |
6 | import android.view.View; | |
7 | import android.view.ViewGroup; | |
8 | ||
9 | public final class TrivialFragment extends Fragment { | |
10 | private final int layout; | |
11 | public TrivialFragment(final int layout){ | |
12 | this.layout=layout; | |
13 | } | |
14 | ||
15 | @Override | |
16 | public View onCreateView(final LayoutInflater inflater, final ViewGroup container, final Bundle savedInstanceState) { | |
17 | return inflater.inflate(layout, container, false); | |
18 | } | |
19 | } |