Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

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

Rev 41 Rev 43
Línea 106... Línea 106...
106
 
106
 
Línea 107... Línea 107...
107
        HashMap<String, String> m_li;
107
        HashMap<String, String> m_li;
108
 
108
 
109
        for(com.cesams.twogetskills.entity.NotificationCenter notificacion: lista)
109
        for(com.cesams.twogetskills.entity.NotificationCenter notificacion: lista)
110
        {
110
        {
Línea 111... Línea 111...
111
            //Log.e("Esto",""+notificacion.getTitle());
111
            Log.e("Esto",""+notificacion.getTitle());
112
            m_li = new HashMap<>();
112
            m_li = new HashMap<>();
113
 
113
 
Línea 140... Línea 140...
140
    @Override
140
    @Override
141
    public void onResume() {
141
    public void onResume() {
142
        super.onResume();
142
        super.onResume();
Línea 143... Línea 143...
143
 
143
 
-
 
144
        loaddata();
Línea 144... Línea 145...
144
        loaddata();
145
        notificaciones.scrollTo(0, getView().getBottom());
Línea 145... Línea 146...
145
 
146
 
146
    }
147
    }
147
 
148
 
148
    @Override
149
    @Override
149
    public void onHiddenChanged(boolean hidden) {
150
    public void onHiddenChanged(boolean hidden) {
-
 
151
        super.onHiddenChanged(hidden);
-
 
152
        if(!hidden) {
150
        super.onHiddenChanged(hidden);
153
            loaddata();
151
        if(!hidden) {
154
            notificaciones.scrollTo(0, getView().getBottom());
Línea 152... Línea 155...
152
            loaddata();
155
 
153
        }
156
        }
154
    }
157
    }
155
 
158
 
156
    @Override
159
    @Override
Línea 157... Línea 160...
157
    public void onItemClick(int position, View v) {
160
    public void onItemClick(int position, View v) {
158
        Log.e("Aqui", "pise en el fragment"+position);
161
        Log.e("Aqui", "pise en el fragment"+position);
159
        //        notificacionList.get(position).put("color","white");
162
        //        notificacionList.get(position).put("color","white");
160
       // loaddata();
163
       // loaddata();
161
 
164
 
162
        if(!notificacionList.get(position).get("url").equals(""))
165
        if(!notificacionList.get(position).get("url").isEmpty())