Proyectos de Subversion Android Microlearning - Inconcert

Rev

Rev 1 | Rev 7 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 2
Línea 30... Línea 30...
30
 
30
 
Línea 31... Línea 31...
31
public class IntroFragment extends Fragment {
31
public class IntroFragment extends Fragment {
32
 
32
 
33
    private Button buttonGetStarted;
33
    private Button buttonGetStarted;
34
    private ITwoGetSkills iTwoGetSkills;
34
    private ITwoGetSkills iTwoGetSkills;
35
    LottieAnimationView figura;
35
    LottieAnimationView figura; int stepper=0;
36
    private TextView appname,introtext,signin,derechos;
36
    private TextView appname,introtext,signin,derechos;
37
    AnimationDrawable rocketAnimation;
37
    AnimationDrawable rocketAnimation;
Línea 130... Línea 130...
130
*/
130
*/
131
        buttonGetStarted.setOnClickListener(new View.OnClickListener() {
131
        buttonGetStarted.setOnClickListener(new View.OnClickListener() {
132
            @Override
132
            @Override
133
            public void onClick(View view) {
133
            public void onClick(View view) {
Línea -... Línea 134...
-
 
134
 
-
 
135
                stepper=stepper+1;
-
 
136
                if(stepper==1){
-
 
137
                    introtext.setText(R.string.intro_unlimite_time_to_learn);
-
 
138
                    signin.setText(R.string.intro_time_rithm);
-
 
139
                    lamp.setImageResource(R.drawable.infinitepreview);
-
 
140
                }
-
 
141
                if(stepper==2)
-
 
142
                {
-
 
143
                    introtext.setText(R.string.start_aventure);
-
 
144
                    signin.setText(R.string.intro_signin_session);
-
 
145
                    lamp.setImageResource(R.drawable.userpreview);
-
 
146
                }
-
 
147
                if(stepper==3 || stepper>3)
134
 
148
                {
-
 
149
                     iTwoGetSkills.invokeFragment(Constants.IDX_FRAGMENT_SIGNIN);
-
 
150
 
-
 
151
                }
135
                iTwoGetSkills.invokeFragment(Constants.IDX_FRAGMENT_SIGNIN);
152
 
136
            }
153
            }
137
        });
154
        });
Línea 138... Línea 155...
138
    }
155
    }
139
 
156