Proyectos de Subversion Android Microlearning

Rev

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

Rev 43 Rev 44
Línea 198... Línea 198...
198
        }
198
        }
199
    }
199
    }
Línea 200... Línea 200...
200
 
200
 
201
    private void loadData()
201
    private void loadData()
-
 
202
    {
202
    {
203
        String userUuid = iTwoGetSkills.getPreference().getUserUuid();
Línea 203... Línea 204...
203
        iTwoGetSkills.setTitleActionBar(requireActivity().getString(R.string.menu_topics));
204
        iTwoGetSkills.setTitleActionBar(requireActivity().getString(R.string.menu_topics));
204
 
205
 
Línea 218... Línea 219...
218
            topic.setDescription(dbTopic.getDescription());
219
            topic.setDescription(dbTopic.getDescription());
219
            topic.setImage(dbTopic.getImage());
220
            topic.setImage(dbTopic.getImage());
220
            topic.setPosition(dbTopic.getPosition());
221
            topic.setPosition(dbTopic.getPosition());
Línea 221... Línea 222...
221
 
222
 
222
 
223
 
223
            progress = progressDao.selectByTopicUuid(topic.getUuid());
224
            progress = progressDao.selectByTopicUuidAndUserUuid(topic.getUuid(), userUuid);
224
            if(progress != null) {
225
            if(progress != null) {
225
                topic.setCompleted(progress.getCompleted());
226
                topic.setCompleted(progress.getCompleted());
226
                topic.setViewSlides( progress.getViewSlides());
227
                topic.setViewSlides( progress.getViewSlides());