Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

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

Rev 54 Rev 56
Línea 128... Línea 128...
128
        mButtonSignIn.setOnClickListener(new View.OnClickListener() {
128
        mButtonSignIn.setOnClickListener(new View.OnClickListener() {
129
            @Override
129
            @Override
130
            public void onClick(View view) {
130
            public void onClick(View view) {
Línea 131... Línea 131...
131
 
131
 
132
                //Ocultar el teclado al intentar inicia sesion
132
                //Ocultar el teclado al intentar inicia sesion
Línea 133... Línea 133...
133
                hideKeyboard(view);
133
                iTwoGetSkills.hideKeyboard(view);
134
 
134
 
135
                attemptLogin();
135
                attemptLogin();
Línea 155... Línea 155...
155
 
155
 
156
        mEditTextEmail.setOnFocusChangeListener(new View.OnFocusChangeListener() {
156
        mEditTextEmail.setOnFocusChangeListener(new View.OnFocusChangeListener() {
157
            @Override
157
            @Override
158
            public void onFocusChange(View v, boolean hasFocus) {
158
            public void onFocusChange(View v, boolean hasFocus) {
159
                if(!hasFocus) {
159
                if(!hasFocus) {
160
                    hideKeyboard(v);
160
                    iTwoGetSkills.hideKeyboard(v);
161
                }
161
                }
162
            }
162
            }
Línea 410... Línea 410...
410
 
410
 
411
                SyncDao syncDao = iTwoGetSkills.getDatabase().getSyncDao();
411
                SyncDao syncDao = iTwoGetSkills.getDatabase().getSyncDao();
Línea -... Línea 412...
-
 
412
                syncDao.insert(sync);
-
 
413
 
412
                syncDao.insert(sync);
414
 
-
 
415
                //Notificaciones en dia para calculo de dias anteriores
Línea 413... Línea 416...
413
 
416
                SimpleDateFormat simpleDateFormat2 = new SimpleDateFormat(Constants.FORMAT_DATE_SERVICE);
414
 
417
                dateOn = simpleDateFormat2.format(date);