1 |
efrain |
1 |
package com.cesams.twogetskills.fragment;
|
|
|
2 |
|
|
|
3 |
import android.content.Context;
|
|
|
4 |
import android.os.Bundle;
|
|
|
5 |
import android.view.LayoutInflater;
|
|
|
6 |
import android.view.View;
|
|
|
7 |
import android.view.ViewGroup;
|
|
|
8 |
import androidx.fragment.app.Fragment;
|
|
|
9 |
import androidx.lifecycle.LifecycleOwner;
|
|
|
10 |
|
|
|
11 |
import com.cesams.twogetskills.R;
|
|
|
12 |
import com.cesams.twogetskills.skeleton.IQuizActivity;
|
|
|
13 |
|
|
|
14 |
public class QuizPassFragment extends Fragment implements LifecycleOwner {
|
|
|
15 |
|
|
|
16 |
private IQuizActivity iQuizActivity;
|
|
|
17 |
|
|
|
18 |
// data is passed into the constructor
|
|
|
19 |
public QuizPassFragment(Context context) {
|
|
|
20 |
iQuizActivity = (IQuizActivity) context ;
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
}
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
@Override
|
|
|
27 |
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
|
|
28 |
Bundle savedInstanceState) {
|
|
|
29 |
// Inflate the layout for this fragment
|
|
|
30 |
return inflater.inflate(R.layout.fragment_quiz_pass, container, false);
|
|
|
31 |
}
|
|
|
32 |
|
|
|
33 |
}
|