1 |
gabriel |
1 |
package com.cesams.twogetskills.inconcert.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 |
|
|
|
9 |
import androidx.annotation.NonNull;
|
|
|
10 |
import androidx.annotation.Nullable;
|
|
|
11 |
import androidx.fragment.app.Fragment;
|
|
|
12 |
import androidx.lifecycle.LifecycleOwner;
|
|
|
13 |
|
|
|
14 |
import com.airbnb.lottie.LottieAnimationView;
|
|
|
15 |
import com.cesams.twogetskills.inconcert.R;
|
|
|
16 |
import com.cesams.twogetskills.inconcert.skeleton.IQuizActivity;
|
|
|
17 |
|
|
|
18 |
public class QuizPassFragment extends Fragment implements LifecycleOwner {
|
|
|
19 |
|
|
|
20 |
private IQuizActivity iQuizActivity;
|
|
|
21 |
LottieAnimationView figura;
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
// data is passed into the constructor
|
|
|
25 |
public QuizPassFragment(Context context) {
|
|
|
26 |
iQuizActivity = (IQuizActivity) context ;
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
}
|
|
|
30 |
|
|
|
31 |
@Override
|
|
|
32 |
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
|
|
|
33 |
super.onViewCreated(view, savedInstanceState);
|
|
|
34 |
|
|
|
35 |
figura = getView().findViewById(R.id.animationView6);
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
}
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
@Override
|
|
|
42 |
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
|
|
43 |
Bundle savedInstanceState) {
|
|
|
44 |
// Inflate the layout for this fragment
|
|
|
45 |
return inflater.inflate(R.layout.fragment_quiz_pass, container, false);
|
|
|
46 |
}
|
|
|
47 |
|
|
|
48 |
}
|