Proyectos de Subversion Android Microlearning

Rev

Rev 4 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4 Rev 6
Línea 7... Línea 7...
7
import androidx.annotation.Nullable;
7
import androidx.annotation.Nullable;
8
import androidx.core.app.NotificationCompat;
8
import androidx.core.app.NotificationCompat;
9
import androidx.core.app.NotificationManagerCompat;
9
import androidx.core.app.NotificationManagerCompat;
10
import androidx.fragment.app.Fragment;
10
import androidx.fragment.app.Fragment;
Línea -... Línea 11...
-
 
11
 
11
 
12
import android.util.Log;
12
import android.view.LayoutInflater;
13
import android.view.LayoutInflater;
13
import android.view.Menu;
14
import android.view.Menu;
14
import android.view.MenuInflater;
15
import android.view.MenuInflater;
15
import android.view.View;
16
import android.view.View;
16
import android.view.ViewGroup;
17
import android.view.ViewGroup;
-
 
18
import android.widget.Button;
Línea 17... Línea 19...
17
import android.widget.Button;
19
import android.widget.TextView;
18
 
20
 
19
import com.airbnb.lottie.LottieAnimationView;
21
import com.airbnb.lottie.LottieAnimationView;
20
import com.cesams.twogetskills.Constants;
22
import com.cesams.twogetskills.Constants;
Línea 26... Línea 28...
26
public class IntroFragment extends Fragment {
28
public class IntroFragment extends Fragment {
Línea 27... Línea 29...
27
 
29
 
28
    private Button buttonGetStarted;
30
    private Button buttonGetStarted;
29
    private ITwoGetSkills iTwoGetSkills;
31
    private ITwoGetSkills iTwoGetSkills;
-
 
32
    LottieAnimationView figura;
Línea 30... Línea 33...
30
    LottieAnimationView figura;
33
    private TextView register;
31
 
34
 
32
 
35
 
Línea 65... Línea 68...
65
            new Exception("La Actividad no implementa Sign");
68
            new Exception("La Actividad no implementa Sign");
66
        }
69
        }
Línea 67... Línea 70...
67
 
70
 
68
        buttonGetStarted = (Button)  getView().findViewById(R.id.intro_button_get_started);
71
        buttonGetStarted = (Button)  getView().findViewById(R.id.intro_button_get_started);
-
 
72
        figura = getView().findViewById(R.id.animationView3);
-
 
73
        register= getView().findViewById(R.id.intro_textview_already_have_an_account);
-
 
74
 
-
 
75
        register.setOnClickListener(new View.OnClickListener() {
-
 
76
            @Override
-
 
77
            public void onClick(View v) {
-
 
78
                Log.e("No hay", "Registro");
-
 
79
                iTwoGetSkills.invokeFragment(Constants.IDX_FRAGMENT_SIGNIN);
-
 
80
 
-
 
81
            }
Línea 69... Línea 82...
69
        figura = getView().findViewById(R.id.animationView3);
82
        });
70
 
83
 
71
        buttonGetStarted.setOnClickListener(new View.OnClickListener() {
84
        buttonGetStarted.setOnClickListener(new View.OnClickListener() {